diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index b4cc9fd4..e19ece34 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -109,7 +109,7 @@ public class MobAI { return; } - if (mob.behaviourType.callsForHelp) + if (mob.behaviourType != null && mob.behaviourType.callsForHelp) mobCallForHelp(mob); if (!MovementUtilities.inRangeDropAggro(mob, target)) {