diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 4463e6fb..2ef18c57 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -445,6 +445,8 @@ public enum BuildingManager { if(banedCity != null){ if(banedCity.getGuild().getNation().equals(playerNation)){ return false; + }else{ + return true; } } } diff --git a/src/engine/objects/Bane.java b/src/engine/objects/Bane.java index 8beb3b57..1f7baa9e 100644 --- a/src/engine/objects/Bane.java +++ b/src/engine/objects/Bane.java @@ -281,6 +281,8 @@ 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 {