diff --git a/src/main/java/com/andrew121410/mc/world16elevators/ElevatorMovement.java b/src/main/java/com/andrew121410/mc/world16elevators/ElevatorMovement.java index f606082..384a3b2 100644 --- a/src/main/java/com/andrew121410/mc/world16elevators/ElevatorMovement.java +++ b/src/main/java/com/andrew121410/mc/world16elevators/ElevatorMovement.java @@ -37,7 +37,7 @@ public ElevatorMovement(Integer floor, Location atDoor, BoundingBox boundingBox) this.teleportingBoundingBox = this.boundingBox.clone().expand(1); } else { // This must be a large elevator. // Expand the bounding box by -1 on the Y axis for minY and +1 on the Y axis for maxY - this.teleportingBoundingBox = this.boundingBox.clone().expand(0, 1, 0); + this.teleportingBoundingBox = this.boundingBox.clone().expand(0.5, 1, 0.5); } }