Browse Source

mob power list troubleshooting

master
FatBoy-DOTC 2 years ago
parent
commit
03a2ead922
  1. 2
      src/engine/objects/Mob.java

2
src/engine/objects/Mob.java

@ -2221,7 +2221,7 @@ public class Mob extends AbstractIntelligenceAgent { @@ -2221,7 +2221,7 @@ public class Mob extends AbstractIntelligenceAgent {
}
//mobPowers = DbManager.MobBaseQueries.LOAD_STATIC_POWERS(this.getMobBaseID());
if(PowersManager.AllMobPowers.containsKey(this.getMobBaseID()) == true){
mobPowers = (HashMap<Integer, Integer>) PowersManager.AllMobPowers.get(this.getMobBaseID()).entrySet();
mobPowers = PowersManager.AllMobPowers.get(this.getMobBaseID());
}
if (this.equip == null) {
Logger.error("Null equipset returned for uuid " + currentID);

Loading…
Cancel
Save