diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index e85a5f83..911ec975 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -53,7 +53,7 @@ public enum BuildingManager { return Vector3fImmutable.ZERO; BuildingLocation buildingLocation; - buildingLocation = _slotLocations.get(building.meshUUID).get(slot); + buildingLocation = _slotLocations.get(building.meshUUID).get(slot - 1); // array index if (buildingLocation == null) { Logger.error("Invalid slot for building: " + building.getObjectUUID());