mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 16:57:42 +01:00
Fixed CraftWorld.getSpawnLocation() not return the exact spawn location.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
c61f2d0af0
commit
2b32c8242e
@ -67,7 +67,7 @@ public class CraftWorld implements World {
|
||||
|
||||
public Location getSpawnLocation() {
|
||||
ChunkCoordinates spawn = world.l();
|
||||
return new Location(this, spawn.a, world.e(spawn.a, spawn.c), spawn.c);
|
||||
return new Location(this, spawn.a, spawn.b, spawn.c);
|
||||
}
|
||||
|
||||
public boolean setSpawnLocation(int x, int y, int z) {
|
||||
|
Loading…
Reference in New Issue
Block a user