v0.93.3 Fixed some issues with class items, inventory, arena end crashing with logging, etc.
This commit is contained in:
1 parent
8805f8a38c
commit
a277bf2b33
3 files changed
+5
-5
No files matched your search
@@ -391,11 +391,11 @@ public class MASpawnThread implements Runnable
|
||||
{
|
||||
if (!(e instanceof Creature))
|
||||
continue;
|
||||
|
||||
|
||||
// TODO: Remove the try-catch when Bukkit API is fixed.
|
||||
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))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in new issue
Block a user