v0.7.5c: added some safety checks to necromancer zapping
This commit is contained in:
parent
a46a5abf49
commit
cdd5a2988e
|
@ -154,7 +154,7 @@ public class Necromancer extends Mob {
|
|||
}
|
||||
|
||||
public void onZapComplete(){
|
||||
if (mySkeleton == null){
|
||||
if (mySkeleton == null || mySkeleton.sprite == null || !mySkeleton.isAlive()){
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user