diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 74357f84..333c26fa 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -463,26 +463,8 @@ public enum BuildingManager { return GuildStatusController.isGuildLeader(player.getGuildStatus()) || GuildStatusController.isInnerCouncil(player.getGuildStatus()); } - public static int GetAvailableGold(Building building) { - - if (building.getStrongboxValue() == 0) - return 0; - - if (building.getStrongboxValue() < building.reserve) - return 0; - - return building.getStrongboxValue() - building.reserve; - } - public static boolean IsPlayerHostile(Building building, PlayerCharacter player) { - //Nation Members and Guild members are not hostile. - // if (building.getGuild() != null){ - // if (pc.getGuild() != null) - // if (building.getGuild().getObjectUUID() == pc.getGuildUUID() - // || pc.getGuild().getNation().getObjectUUID() == building.getGuild().getNation().getObjectUUID()) - // return false; - // } if (Guild.sameNationExcludeErrant(building.getGuild(), player.getGuild())) return false;