bane commander NPC
This commit is contained in:
1 parent
05f555b5b5
commit
afea79474e
1 file changed
+2
-2
@@ -281,8 +281,6 @@ public final class Bane {
|
||||
baneCommander = NPC.createNPC("Bane Commander", contractID, spawnLoc, bane.getCity().getGuild(), ZoneManager.findSmallestZone(bane.getStone().loc), (short) 70, bane.getStone());
|
||||
baneCommander.setLoc(spawnLoc);
|
||||
baneCommander.setGuild(bane.getCity().getGuild());
|
||||
WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z);
|
||||
WorldGrid.updateObject(baneCommander);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -290,6 +288,8 @@ public final class Bane {
|
||||
baneCommander.setLoc(spawnLoc);
|
||||
baneCommander.setGuild(bane.getCity().getGuild());
|
||||
}
|
||||
WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z);
|
||||
WorldGrid.updateObject(baneCommander);
|
||||
InterestManager.setObjectDirty(baneCommander);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user