Fixed spawn location offset.

Dieser Commit ist enthalten in:
EvilSeph 2011-06-21 00:24:20 -04:00
Ursprung 0648302078
Commit cd1c3858eb

Datei anzeigen

@ -232,7 +232,7 @@ public class ServerConfigurationManager {
if (location == null) { if (location == null) {
cw = (CraftWorld) this.server.server.getWorlds().get(0); cw = (CraftWorld) this.server.server.getWorlds().get(0);
chunkcoordinates = cw.getHandle().getSpawn(); 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); Player respawnPlayer = cserver.getPlayer(entityplayer);