mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 02:02:04 -07:00
Fixed spawn location offset.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user