mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-01 14:51:39 +01:00
Fixed CraftWorld.getSpawnLocation() not return the exact spawn location.
This commit is contained in:
parent
95c08f854f
commit
6fc4d9dcfe
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue