Fix the all-node for upgrade waves.

This commit is contained in:
garbagemule 2013-06-22 12:06:13 +02:00
parent 52599319c1
commit fe8a8ffa80
2 changed files with 1 additions and 4 deletions

View File

@ -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");
}
}

View File

@ -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);
}