v0.7.5c: added some safety checks to necromancer zapping

This commit is contained in:
Evan Debenham 2019-10-16 16:49:33 -04:00
parent a46a5abf49
commit cdd5a2988e

View File

@ -154,7 +154,7 @@ public class Necromancer extends Mob {
} }
public void onZapComplete(){ public void onZapComplete(){
if (mySkeleton == null){ if (mySkeleton == null || mySkeleton.sprite == null || !mySkeleton.isAlive()){
return; return;
} }