Browse Source

Mask only needs be set once.

mobile-class-refactor
MagicBot 1 year ago
parent
commit
c38f4e6543
  1. 1
      src/engine/objects/Mob.java

1
src/engine/objects/Mob.java

@ -491,7 +491,6 @@ public class Mob extends AbstractIntelligenceAgent {
try { try {
mob = DbManager.MobQueries.ADD_MOB(mobile); mob = DbManager.MobQueries.ADD_MOB(mobile);
mob.setObjectTypeMask(MBServerStatics.MASK_MOB | mob.getTypeMasks());
} catch (Exception e) { } catch (Exception e) {
Logger.error("SQLException:" + e.getMessage()); Logger.error("SQLException:" + e.getMessage());

Loading…
Cancel
Save