mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 19:16:41 +01:00
Fix the all-node for upgrade waves.
This commit is contained in:
parent
52599319c1
commit
fe8a8ffa80
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user