Merge pull request #7822 from deathbeam/fix-mapping-warning

Fix unmapped target property "time" warning
This commit is contained in:
Tomas Slusny
2019-02-12 15:58:15 +00:00
committed by GitHub

View File

@@ -38,6 +38,8 @@ public interface XpMapper
XpData xpEntityToXpData(XpEntity xpEntity);
@Mapping(target = "time", ignore = true)
@Mapping(source = "attack.experience", target = "attack_xp")
@Mapping(source = "defence.experience", target = "defence_xp")
@Mapping(source = "strength.experience", target = "strength_xp")