mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
The bedrock check asks the height first, so a placement above the bottom rows never reads the dimension's bedrock setting
This commit is contained in:
1 parent
3eb987680e
commit
0cd2a0e195
1 file changed
+1
-1
@@ -96,7 +96,7 @@ public final class ValidateModule implements IrisModule {
|
||||
|
||||
private static boolean isOnBedrock(PreparedPlacement prepared, int y) {
|
||||
PlacementTerrain terrain = prepared.terrain();
|
||||
return terrain.hasWorld() && terrain.hasBedrock() && y <= BEDROCK_ROW;
|
||||
return y <= BEDROCK_ROW && terrain.hasWorld() && terrain.hasBedrock();
|
||||
}
|
||||
|
||||
private static boolean lacksSurfaceSupport(ObjectPlacement placement, PreparedPlacement prepared) {
|
||||
|
||||
Reference in new issue
Block a user