diff --git a/src/main/java/gent/zeus/mc13dtl/events/catalog/ClimbEvent.java b/src/main/java/gent/zeus/mc13dtl/events/catalog/ClimbEvent.java index e764d33..ecb644e 100644 --- a/src/main/java/gent/zeus/mc13dtl/events/catalog/ClimbEvent.java +++ b/src/main/java/gent/zeus/mc13dtl/events/catalog/ClimbEvent.java @@ -31,13 +31,13 @@ public class ClimbEvent extends Event { return; } Player player = MC13DTL.board.getPlayers(team).getFirst(); - Location location = new Location(Bukkit.getWorld("world"), player.getX(), -50, player.getZ()); + Location location = new Location(Bukkit.getWorld("world"), ((int) player.getX()) + 0.5, -50, ((int) player.getZ()) + 0.5); location.getBlock().setType(Material.AIR); location.add(0, -1, 0).getBlock().setType(Material.AIR); - location.add(0, -2, 0).getBlock().setType(Material.STONE); + location.add(0, -1, 0).getBlock().setType(Material.STONE); for (Player p : MC13DTL.board.getPlayers(team)) { - p.teleport(location); + p.teleport(location.add(0, 2, 0)); } super.start();