diff --git a/resource/plugin.yml b/resource/plugin.yml index 447edef..f726479 100644 --- a/resource/plugin.yml +++ b/resource/plugin.yml @@ -1,4 +1,4 @@ -version: 3.8.1 +version: 3.8.2 main: me.rockyhawk.commandPanels.commandpanels name: CommandPanels author: RockyHawk diff --git a/src/me/rockyhawk/commandPanels/commandpanels.java b/src/me/rockyhawk/commandPanels/commandpanels.java index 5ec1845..6a19556 100644 --- a/src/me/rockyhawk/commandPanels/commandpanels.java +++ b/src/me/rockyhawk/commandPanels/commandpanels.java @@ -438,6 +438,11 @@ public class commandpanels extends JavaPlugin { public List papi(Player p, List setpapi, boolean placeholders) { try { if (this.getServer().getPluginManager().isPluginEnabled("PlaceholderAPI") && placeholders) { + int tempInt = 0; + for(String temp : setpapi){ + setpapi.set(tempInt,setCpPlaceholders(p,temp)); + tempInt += 1; + } OfflinePlayer offp = getServer().getOfflinePlayer(p.getUniqueId()); setpapi = PlaceholderAPI.setPlaceholders(offp, setpapi); }