mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Fixed spawn location offset.
This commit is contained in:
1 parent
0648302078
commit
cd1c3858eb
1 file changed
+1
-1
@@ -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