diff options
author | EvilSeph <evilseph@unaligned.org> | 2011-06-21 00:24:20 -0400 |
---|---|---|
committer | EvilSeph <evilseph@unaligned.org> | 2011-06-21 00:24:20 -0400 |
commit | cd1c3858eb9210b1404fafda60628f497ffbce69 (patch) | |
tree | 93d7b18723a06c1060606ce64e6c4e7cbca18f98 /src/main | |
parent | 06483020784d4cbe20fda911d1a703bc7a42c183 (diff) | |
download | craftbukkit-cd1c3858eb9210b1404fafda60628f497ffbce69.tar craftbukkit-cd1c3858eb9210b1404fafda60628f497ffbce69.tar.gz craftbukkit-cd1c3858eb9210b1404fafda60628f497ffbce69.tar.lz craftbukkit-cd1c3858eb9210b1404fafda60628f497ffbce69.tar.xz craftbukkit-cd1c3858eb9210b1404fafda60628f497ffbce69.zip |
Fixed spawn location offset.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/minecraft/server/ServerConfigurationManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 6ec5bd92..78fce0c0 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); |