mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +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
|
@Override
|
||||||
public BlockVector3 getSpawnPosition() {
|
public BlockVector3 getSpawnPosition() {
|
||||||
return ForgeAdapter.adapt(getWorld().getSpawnPoint());
|
return ForgeAdapter.adapt(getWorld().getSpawnPoint());
|
||||||
|
Loading…
Reference in New Issue
Block a user