mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 04:22:26 +00:00
Even better factory transition
This commit is contained in:
1 parent
d3df5c5ce7
commit
061c84d586
1 file changed
+12
-1
@@ -151,7 +151,18 @@ public class TileComponentConfig implements ITileComponent
|
||||
sideConfigs.put(type.ordinal(), nbtTags.getByteArray("config" + type.ordinal()));
|
||||
ejecting.put(type.ordinal(), nbtTags.getBoolean("ejecting" + type.ordinal()));
|
||||
}
|
||||
} catch(Exception e) {}
|
||||
} catch(Exception e) {
|
||||
try {
|
||||
byte[] bytes = new byte[6];
|
||||
|
||||
for(int i = 0; i < 6; i++)
|
||||
{
|
||||
bytes[i] = nbtTags.getByte("config"+i);
|
||||
}
|
||||
|
||||
sideConfigs.put(TransmissionType.ITEM.ordinal(), bytes);
|
||||
} catch(Exception e1) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user