mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Better format for profession exp placeholder
This commit is contained in:
parent
a498c43bf4
commit
9eb9abc6e4
@ -109,7 +109,7 @@ public class RPGPlaceholders extends PlaceholderExpansion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (identifier.startsWith("profession_experience_"))
|
else if (identifier.startsWith("profession_experience_"))
|
||||||
return String.valueOf(
|
return MythicLib.plugin.getMMOConfig().decimal.format(
|
||||||
playerData.getCollectionSkills().getExperience(identifier.substring(22).replace(" ", "-").replace("_", "-").toLowerCase()));
|
playerData.getCollectionSkills().getExperience(identifier.substring(22).replace(" ", "-").replace("_", "-").toLowerCase()));
|
||||||
|
|
||||||
else if (identifier.startsWith("profession_next_level_"))
|
else if (identifier.startsWith("profession_next_level_"))
|
||||||
|
Loading…
Reference in New Issue
Block a user