diff --git a/src/engine/devcmd/cmds/SlotTestCmd.java b/src/engine/devcmd/cmds/SlotTestCmd.java
index 2024978c..acddd1de 100644
--- a/src/engine/devcmd/cmds/SlotTestCmd.java
+++ b/src/engine/devcmd/cmds/SlotTestCmd.java
@@ -53,11 +53,11 @@ public class SlotTestCmd extends AbstractDevCmd {
 		if (args.length == 1) {
 
 			int slot = Integer.parseInt(args[0]);
-			Vector3fImmutable slotPosition;
-			BuildingLocation slotLocation = BuildingManager._slotLocations.get(building.meshUUID).get(slot);
-			slotPosition = building.getLoc().add(slotLocation.getLocation());
-			slotPosition = Vector3fImmutable.rotateAroundPoint(building.getLoc(), slotPosition, building.getBounds().getQuaternion().angleY);
-			playerCharacter.teleport(slotPosition);
+			Vector3fImmutable slotLocation;
+			BuildingLocation buildingLocation = BuildingManager._slotLocations.get(building.meshUUID).get(slot);
+			slotLocation = building.getLoc().add(buildingLocation.getLocation());
+			slotLocation = Vector3fImmutable.rotateAroundPoint(building.getLoc(), slotLocation, building.getBounds().getQuaternion().angleY);
+			playerCharacter.teleport(slotLocation);
 			return;
 		}