mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Implement getMaxY for ForgeWorld.
Should play nicer with things like CubicChunks. Note that there is no way to get the min point in Minecraft itself, so this only supports going up, not down.
This commit is contained in:
parent
b5e1f3dbc3
commit
2a1fdf470f
@ -426,6 +426,11 @@ public class ForgeWorld extends AbstractWorld {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxY() {
|
||||
return getWorld().getHeight();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockVector3 getSpawnPosition() {
|
||||
return ForgeAdapter.adapt(getWorld().getSpawnPoint());
|
||||
|
Loading…
Reference in New Issue
Block a user