v0.93.1 - Fixed a couple of bugs

This commit is contained in:
Garbage Mule 2011-07-16 23:06:31 +02:00
parent cc02c067eb
commit da8c77082e
3 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
name: MobArena name: MobArena
main: com.garbagemule.MobArena.MobArena main: com.garbagemule.MobArena.MobArena
version: 0.93 version: 0.93.1
softdepend: [MultiVerse,XcraftGate] softdepend: [MultiVerse,XcraftGate]
commands: commands:
ma: ma:

View File

@ -128,6 +128,9 @@ public class MASpawnThread implements Runnable
{ {
for (Player p : arena.livePlayers) for (Player p : arena.livePlayers)
{ {
if (arena.rewardMap.get(p) == null)
continue;
ItemStack reward = MAUtils.getRandomReward(rewards); ItemStack reward = MAUtils.getRandomReward(rewards);
arena.rewardMap.get(p).add(reward); arena.rewardMap.get(p).add(reward);