Fixed stat placeholder

This commit is contained in:
Jules 2023-04-01 23:31:11 +02:00
parent 78c445bb5a
commit 2290fe7066

View File

@ -60,7 +60,7 @@ public class MMOItemsPlaceholders extends PlaceholderExpansion {
}
if (identifier.startsWith("stat_")) {
final String stat = UtilityMethods.caseOnWords(identifier.substring(5));
final String stat = UtilityMethods.enumName(identifier.substring(5));
return StatManager.format(stat, MMOPlayerData.get(player));
}