Merge pull request #7822 from deathbeam/fix-mapping-warning
Fix unmapped target property "time" warning
This commit is contained in:
@@ -38,6 +38,8 @@ public interface XpMapper
|
|||||||
|
|
||||||
XpData xpEntityToXpData(XpEntity xpEntity);
|
XpData xpEntityToXpData(XpEntity xpEntity);
|
||||||
|
|
||||||
|
@Mapping(target = "time", ignore = true)
|
||||||
|
|
||||||
@Mapping(source = "attack.experience", target = "attack_xp")
|
@Mapping(source = "attack.experience", target = "attack_xp")
|
||||||
@Mapping(source = "defence.experience", target = "defence_xp")
|
@Mapping(source = "defence.experience", target = "defence_xp")
|
||||||
@Mapping(source = "strength.experience", target = "strength_xp")
|
@Mapping(source = "strength.experience", target = "strength_xp")
|
||||||
|
|||||||
Reference in New Issue
Block a user