diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 2038c7c5..16a1cce9 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1955,7 +1955,7 @@ public class Mob extends AbstractIntelligenceAgent { // Powers from contract - if (PowersManager.AllMobPowers.containsKey(this.contract.getContractID())) + if (this.contract != null && PowersManager.AllMobPowers.containsKey(this.contract.getContractID())) for (MobPowerEntry mobPowerEntry : PowersManager.AllMobPowers.get(this.contract.getContractID())) mobPowers.put(mobPowerEntry.token, mobPowerEntry.rank);