v0.7.5c: added some safety checks to necromancer zapping
This commit is contained in:
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user