diff --git a/src/main/java/net/Indyuce/mmocore/comp/placeholder/RPGPlaceholders.java b/src/main/java/net/Indyuce/mmocore/comp/placeholder/RPGPlaceholders.java index 2cd68388..b2a2b4dd 100644 --- a/src/main/java/net/Indyuce/mmocore/comp/placeholder/RPGPlaceholders.java +++ b/src/main/java/net/Indyuce/mmocore/comp/placeholder/RPGPlaceholders.java @@ -106,6 +106,9 @@ public class RPGPlaceholders extends PlaceholderExpansion { return "" + PlayerData.get(player).getCollectionSkills() .getLevelUpExperience(identifier.substring(22).replace(" ", "-").replace("_", "-").toLowerCase()); + else if (identifier.startsWith("party_count")) + return playerData.hasParty() ? String.valueOf(playerData.getParty().getMembers().count()) : "0"; + else if (identifier.startsWith("profession_")) return String .valueOf(playerData.getCollectionSkills().getLevel(identifier.substring(11).replace(" ", "-").replace("_", "-").toLowerCase()));