mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Implement getSpawnLocation().
By: FeepingCreature <default_357-line@yahoo.de>
This commit is contained in:
parent
faf7e54b22
commit
fa61eef933
@ -50,6 +50,10 @@ public class CraftWorld implements World {
|
|||||||
public int getHighestBlockYAt(int x, int z) {
|
public int getHighestBlockYAt(int x, int z) {
|
||||||
return world.d(x, z);
|
return world.d(x, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Location getSpawnLocation() {
|
||||||
|
return new Location(this, world.m, world.e(world.m, world.o), world.o);
|
||||||
|
}
|
||||||
|
|
||||||
public Chunk getChunkAt(int x, int z) {
|
public Chunk getChunkAt(int x, int z) {
|
||||||
ChunkCoordinate loc = new ChunkCoordinate(x, z);
|
ChunkCoordinate loc = new ChunkCoordinate(x, z);
|
||||||
|
Loading…
Reference in New Issue
Block a user