Browse Source

Power loading work.

master
MagicBot 1 year ago
parent
commit
434078cebf
  1. 2
      src/engine/objects/Mob.java

2
src/engine/objects/Mob.java

@ -1955,7 +1955,7 @@ public class Mob extends AbstractIntelligenceAgent {
// Powers from contract // 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())) for (MobPowerEntry mobPowerEntry : PowersManager.AllMobPowers.get(this.contract.getContractID()))
mobPowers.put(mobPowerEntry.token, mobPowerEntry.rank); mobPowers.put(mobPowerEntry.token, mobPowerEntry.rank);

Loading…
Cancel
Save