mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
ObjectPlacing: a dimension without a cave profile falls back to one shared default profile
This commit is contained in:
1 parent
cff492ada8
commit
c9efe0d73d
1 file changed
+2
-1
@@ -79,6 +79,7 @@ import java.util.concurrent.atomic.AtomicLong;
|
||||
* placement reach of any object the dimension can place.
|
||||
*/
|
||||
public class ObjectPlacing {
|
||||
private static final CaveProfile DEFAULT_CAVE_PROFILE = new CaveProfile();
|
||||
private static final long CAVE_REJECT_LOG_THROTTLE_MS = 5000L;
|
||||
private static final int BEDROCK_CLEARANCE = 6;
|
||||
private static final byte LIQUID_FORCED_AIR = 3;
|
||||
@@ -1333,7 +1334,7 @@ public class ObjectPlacing {
|
||||
return dimensionProfile;
|
||||
}
|
||||
|
||||
return new CaveProfile();
|
||||
return DEFAULT_CAVE_PROFILE;
|
||||
}
|
||||
|
||||
private CaveAnchorMode resolveAnchorMode(IrisObjectPlacement objectPlacement, CaveProfile caveProfile) {
|
||||
|
||||
Reference in new issue
Block a user