Fix the all-node for upgrade waves.
This commit is contained in:
@@ -209,7 +209,7 @@ public class MASpawnThread implements Runnable
|
||||
for (Player p : arena.getPlayersInArena()) {
|
||||
String className = arena.getArenaPlayer(p).getArenaClass().getLowercaseName();
|
||||
uw.grantItems(p, className);
|
||||
uw.grantItems(p, "All");
|
||||
uw.grantItems(p, "all");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -373,9 +373,6 @@ public class WaveParser
|
||||
String itemList = config.getString(path + className);
|
||||
List<ItemStack> stacks = ItemParser.parseItems(itemList);
|
||||
|
||||
if (className.equalsIgnoreCase("All")) {
|
||||
className = "All";
|
||||
}
|
||||
upgrades.put(className.toLowerCase(), stacks);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user