mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
Fixed stat placeholder
This commit is contained in:
parent
78c445bb5a
commit
2290fe7066
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user