Browse Source

bane commander NPC

lakebane2
FatBoy-DOTC 3 weeks ago
parent
commit
546c335198
  1. 4
      src/engine/objects/Bane.java

4
src/engine/objects/Bane.java

@ -285,10 +285,8 @@ public final class Bane {
baneCommander = NPC.getNPC(commanderuuid); baneCommander = NPC.getNPC(commanderuuid);
} }
baneCommander.runAfterLoad(); baneCommander.runAfterLoad();
baneCommander.setLoc(spawnLoc); //baneCommander.setLoc(spawnLoc);
InterestManager.setObjectDirty(baneCommander); InterestManager.setObjectDirty(baneCommander);
WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z);
WorldGrid.updateObject(baneCommander);
baneCommander.updateLocation(); baneCommander.updateLocation();
} }

Loading…
Cancel
Save