Small fix
This commit is contained in:
parent
73aa475247
commit
ed16c1befe
3 changed files with 17 additions and 4 deletions
|
@ -48,7 +48,7 @@ public class StructureEternalPortal extends StructureFeatureBase {
|
|||
int z = (chunkZ << 4) | MHelper.randRange(4, 12, random);
|
||||
int y = chunkGenerator.getHeight(x, z, Type.WORLD_SURFACE_WG);
|
||||
if (y > 50) {
|
||||
this.children.add(new NBTPiece(STRUCTURE_ID, STRUCTURE, new BlockPos(x, y - 3, z), random.nextInt(5), true, random));
|
||||
this.children.add(new NBTPiece(STRUCTURE_ID, STRUCTURE, new BlockPos(x, y - 4, z), random.nextInt(5), true, random));
|
||||
}
|
||||
this.setBoundingBoxFromChildren();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue