From 9eb9abc6e4059f4667ed32b38c3d962c5bc1fcdf Mon Sep 17 00:00:00 2001 From: Indyuce Date: Fri, 19 Aug 2022 16:02:50 +0200 Subject: [PATCH] Better format for profession exp placeholder --- .../net/Indyuce/mmocore/comp/placeholder/RPGPlaceholders.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/comp/placeholder/RPGPlaceholders.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/comp/placeholder/RPGPlaceholders.java index 0ec5f9fe..c2cb987f 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/comp/placeholder/RPGPlaceholders.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/comp/placeholder/RPGPlaceholders.java @@ -109,7 +109,7 @@ public class RPGPlaceholders extends PlaceholderExpansion { } else if (identifier.startsWith("profession_experience_")) - return String.valueOf( + return MythicLib.plugin.getMMOConfig().decimal.format( playerData.getCollectionSkills().getExperience(identifier.substring(22).replace(" ", "-").replace("_", "-").toLowerCase())); else if (identifier.startsWith("profession_next_level_"))