forked from Upstream/CommandPanels
3.8.2 Fixes
This commit is contained in:
parent
84d195c45e
commit
bcf1734b76
@ -1,4 +1,4 @@
|
||||
version: 3.8.1
|
||||
version: 3.8.2
|
||||
main: me.rockyhawk.commandPanels.commandpanels
|
||||
name: CommandPanels
|
||||
author: RockyHawk
|
||||
|
@ -438,6 +438,11 @@ public class commandpanels extends JavaPlugin {
|
||||
public List<String> papi(Player p, List<String> 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user