Small format fix
This commit is contained in:
parent
9c8de4a70a
commit
73b617e8b0
1 changed files with 1 additions and 2 deletions
|
@ -67,8 +67,7 @@ public class EndPodiumFeatureMixin {
|
|||
if (GeneratorOptions.useNewGenerator()) {
|
||||
BlockPos pos = GeneratorOptions.getPortalPos();
|
||||
if (pos.equals(BlockPos.ZERO)) {
|
||||
int y = world.getChunk(0, 0, ChunkStatus.FULL)
|
||||
.getHeight(Types.WORLD_SURFACE, blockPos.getX(), blockPos.getZ());
|
||||
int y = world.getChunk(0, 0, ChunkStatus.FULL).getHeight(Types.WORLD_SURFACE, blockPos.getX(), blockPos.getZ());
|
||||
if (y < 1) {
|
||||
y = 65;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue