NoFactionPrefix Fixed, Along with Small Enhancements!

This commit is contained in:
Driftay
2019-08-21 13:52:03 -04:00
parent b0ebe7ec1a
commit b91d13feea
11 changed files with 21 additions and 58 deletions

View File

@@ -19,8 +19,7 @@ import java.util.List;
public class ShopClickPersistence implements Listener {
public void runCommands(List<String> list, Player p) {
for (int a = 0; a < list.size(); a++) {
String cmd = list.get(a);
for (String cmd : list) {
cmd = cmd.replace("%player%", p.getName());
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), cmd);
}