From 8b2a07e8605bcf82f7c68ad7ea9fa8494fd3f0d2 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 22 Jul 2023 10:40:54 -0400 Subject: [PATCH] Unused method removed. --- src/engine/gameManager/BuildingManager.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 990c4efd..d9ea9810 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -17,7 +17,6 @@ import engine.job.JobContainer; import engine.job.JobScheduler; import engine.jobs.UpgradeBuildingJob; import engine.math.Bounds; -import engine.math.Quaternion; import engine.math.Vector3fImmutable; import engine.net.client.msg.ErrorPopupMsg; import engine.objects.*; @@ -72,21 +71,6 @@ public enum BuildingManager { return buildingLocation; } - public static Quaternion getSlotRotation(Building building, int slot) { - - if (slot == -1) - return new Quaternion(); - - BuildingLocation buildingLocation; - buildingLocation = _slotLocations.get(building.meshUUID).get(slot - 1); // array index - - if (buildingLocation == null) { - Logger.error("Invalid slot rotation for building: " + building.getObjectUUID()); - } - - return buildingLocation.getRotation(); - } - public static boolean playerCanManage(PlayerCharacter player, Building building) { if (player == null)