mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-18 06:10:04 +00:00
Fixed MIN_HEIGHT.
This commit is contained in:
@@ -826,18 +826,22 @@ public class IrisObject extends IrisRegistrant {
|
|||||||
for(BlockVector g : getBlocks().keySet()) {
|
for(BlockVector g : getBlocks().keySet()) {
|
||||||
BlockData d;
|
BlockData d;
|
||||||
|
|
||||||
try {
|
if(config.getStiltOverride() == null) {
|
||||||
d = getBlocks().get(g);
|
try {
|
||||||
} catch(Throwable e) {
|
d = getBlocks().get(g);
|
||||||
Iris.reportError(e);
|
} catch(Throwable e) {
|
||||||
Iris.warn("Failed to read block node " + g.getBlockX() + "," + g.getBlockY() + "," + g.getBlockZ() + " in object " + getLoadKey() + " (stilt cme)");
|
Iris.reportError(e);
|
||||||
d = AIR;
|
Iris.warn("Failed to read block node " + g.getBlockX() + "," + g.getBlockY() + "," + g.getBlockZ() + " in object " + getLoadKey() + " (stilt cme)");
|
||||||
}
|
d = AIR;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(d == null) {
|
||||||
|
Iris.warn("Failed to read block node " + g.getBlockX() + "," + g.getBlockY() + "," + g.getBlockZ() + " in object " + getLoadKey() + " (stilt null)");
|
||||||
|
d = AIR;
|
||||||
|
}
|
||||||
|
} else
|
||||||
|
d = config.getStiltOverride().getBlockData(rdata);
|
||||||
|
|
||||||
if(d == null) {
|
|
||||||
Iris.warn("Failed to read block node " + g.getBlockX() + "," + g.getBlockY() + "," + g.getBlockZ() + " in object " + getLoadKey() + " (stilt null)");
|
|
||||||
d = AIR;
|
|
||||||
}
|
|
||||||
|
|
||||||
BlockVector i = g.clone();
|
BlockVector i = g.clone();
|
||||||
i = config.getRotation().rotate(i.clone(), spinx, spiny, spinz).clone();
|
i = config.getRotation().rotate(i.clone(), spinx, spiny, spinz).clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user