bane commander NPC
This commit is contained in:
@@ -284,10 +284,13 @@ public final class Bane {
|
|||||||
{
|
{
|
||||||
baneCommander = NPC.getNPC(commanderuuid);
|
baneCommander = NPC.getNPC(commanderuuid);
|
||||||
}
|
}
|
||||||
|
baneCommander.runAfterLoad();
|
||||||
baneCommander.setLoc(spawnLoc);
|
baneCommander.setLoc(spawnLoc);
|
||||||
InterestManager.setObjectDirty(baneCommander);
|
InterestManager.setObjectDirty(baneCommander);
|
||||||
WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z);
|
WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z);
|
||||||
WorldGrid.updateObject(baneCommander);
|
WorldGrid.updateObject(baneCommander);
|
||||||
|
|
||||||
|
baneCommander.updateLocation();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Bane getBane(int cityUUID) {
|
public static Bane getBane(int cityUUID) {
|
||||||
|
|||||||
Reference in New Issue
Block a user