Browse Source

bane commander NPC

lakebane2
FatBoy-DOTC 1 month ago
parent
commit
aaecc5eda2
  1. 3
      src/engine/objects/Bane.java

3
src/engine/objects/Bane.java

@ -284,10 +284,13 @@ public final class Bane { @@ -284,10 +284,13 @@ public final class Bane {
{
baneCommander = NPC.getNPC(commanderuuid);
}
baneCommander.runAfterLoad();
baneCommander.setLoc(spawnLoc);
InterestManager.setObjectDirty(baneCommander);
WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z);
WorldGrid.updateObject(baneCommander);
baneCommander.updateLocation();
}
public static Bane getBane(int cityUUID) {

Loading…
Cancel
Save