From cd1c3858eb9210b1404fafda60628f497ffbce69 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Tue, 21 Jun 2011 00:24:20 -0400 Subject: [PATCH] Fixed spawn location offset. --- .../java/net/minecraft/server/ServerConfigurationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 6ec5bd920f..78fce0c09b 100644 --- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java +++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java @@ -232,7 +232,7 @@ public class ServerConfigurationManager { if (location == null) { cw = (CraftWorld) this.server.server.getWorlds().get(0); chunkcoordinates = cw.getHandle().getSpawn(); - location = new Location(cw, chunkcoordinates.x, chunkcoordinates.y, chunkcoordinates.z); + location = new Location(cw, chunkcoordinates.x + 0.5, chunkcoordinates.y, chunkcoordinates.z + 0.5); } Player respawnPlayer = cserver.getPlayer(entityplayer);