3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00

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) {
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);