diff --git a/MarriageMaster-API/pom.xml b/MarriageMaster-API/pom.xml index 43b42764..25dd645b 100644 --- a/MarriageMaster-API/pom.xml +++ b/MarriageMaster-API/pom.xml @@ -53,8 +53,8 @@ jar - -Xdoclint:none 8 + none diff --git a/MarriageMaster/src/at/pcgamingfreaks/MarriageMaster/Bukkit/Placeholder/Replacer/MagicHeart.java b/MarriageMaster/src/at/pcgamingfreaks/MarriageMaster/Bukkit/Placeholder/Replacer/MagicHeart.java index c10911cd..0099a600 100644 --- a/MarriageMaster/src/at/pcgamingfreaks/MarriageMaster/Bukkit/Placeholder/Replacer/MagicHeart.java +++ b/MarriageMaster/src/at/pcgamingfreaks/MarriageMaster/Bukkit/Placeholder/Replacer/MagicHeart.java @@ -18,6 +18,7 @@ package at.pcgamingfreaks.MarriageMaster.Bukkit.Placeholder.Replacer; import at.pcgamingfreaks.MarriageMaster.Bukkit.API.MarriagePlayer; +import at.pcgamingfreaks.MarriageMaster.Bukkit.Database.MarriageData; import at.pcgamingfreaks.MarriageMaster.Bukkit.MarriageMaster; import at.pcgamingfreaks.MarriageMaster.Bukkit.Placeholder.PlaceholderName; @@ -35,6 +36,6 @@ public MagicHeart(MarriageMaster plugin) protected @Nullable String replaceMarried(MarriagePlayer player) { //noinspection ConstantConditions - return player.getMarriageData().getColor() + valueMarried; + return ((MarriageData) player.getMarriageData()).getMagicHeart() + valueMarried; } } \ No newline at end of file diff --git a/pom.xml b/pom.xml index c6dd4ff5..1f568e9d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ pom - 2.2.6 + 2.2.7 UTF-8 UTF-8