9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-19 15:09:18 +00:00

fix converter for complex schematic

This commit is contained in:
Julian Krings
2025-10-02 11:43:16 +02:00
parent 867686eced
commit f85f15ed02

View File

@@ -89,7 +89,7 @@ public class IrisConverter {
for (int h = 0; h < objH; h++) { for (int h = 0; h < objH; h++) {
for (int d = 0; d < objD; d++) { for (int d = 0; d < objD; d++) {
for (int w = 0; w < objW; w++) { for (int w = 0; w < objW; w++) {
BlockData bd = blockmap.get((int) originalBlockArray[v.get()]); BlockData bd = blockmap.get(Byte.toUnsignedInt(originalBlockArray[v.get()]));
if (!bd.getMaterial().isAir()) { if (!bd.getMaterial().isAir()) {
object.setUnsigned(w, h, d, bd); object.setUnsigned(w, h, d, bd);
} }