From 3926160ab15534acd8c6656d4f7320be030396b2 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 19 Jun 2024 16:56:57 -0400 Subject: [PATCH] Unused method removed --- src/engine/gameManager/BuildingManager.java | 18 ------------------ 1 file changed, 18 deletions(-) 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;