v0.93.3 Fixed some issues with class items, inventory, arena end crashing with logging, etc.

This commit is contained in:
Andreas Troelsen
2011-07-19 23:10:34 +02:00
parent 8805f8a38c
commit a277bf2b33
3 changed files with 5 additions and 5 deletions
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -1,7 +1,7 @@
name: MobArena name: MobArena
main: com.garbagemule.MobArena.MobArena main: com.garbagemule.MobArena.MobArena
version: 0.93.2 version: 0.93.3
softdepend: [MultiVerse,XcraftGate] softdepend: [MultiVerse,XcraftGate,Towny]
commands: commands:
ma: ma:
description: Base command for MobArena description: Base command for MobArena
@@ -391,11 +391,11 @@ public class MASpawnThread implements Runnable
{ {
if (!(e instanceof Creature)) if (!(e instanceof Creature))
continue; continue;
// TODO: Remove the try-catch when Bukkit API is fixed.
c = (Creature) e; c = (Creature) e;
target = c.getTarget(); try { target = c.getTarget(); } catch (ClassCastException cce) { continue; }
//if (target instanceof Player && arena.livePlayers.contains(target))
if (target instanceof Player && arena.arenaPlayers.contains(target)) if (target instanceof Player && arena.arenaPlayers.contains(target))
continue; continue;