Fixed CraftWorld.getSpawnLocation() not return the exact spawn location.
Dieser Commit ist enthalten in:
Ursprung
95c08f854f
Commit
6fc4d9dcfe
@ -67,7 +67,7 @@ public class CraftWorld implements World {
|
|||||||
|
|
||||||
public Location getSpawnLocation() {
|
public Location getSpawnLocation() {
|
||||||
ChunkCoordinates spawn = world.l();
|
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) {
|
public boolean setSpawnLocation(int x, int y, int z) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren