Attempt a fix at factory world transition
This commit is contained in:
parent
cef1f02569
commit
d3df5c5ce7
1 changed files with 7 additions and 5 deletions
|
@ -145,11 +145,13 @@ public class TileComponentConfig implements ITileComponent
|
||||||
{
|
{
|
||||||
for(TransmissionType type : transmissions)
|
for(TransmissionType type : transmissions)
|
||||||
{
|
{
|
||||||
if(nbtTags.getByteArray("config" + type.ordinal()).length > 0)
|
try {//TODO remove soon
|
||||||
{
|
if(nbtTags.getByteArray("config" + type.ordinal()).length > 0)
|
||||||
sideConfigs.put(type.ordinal(), nbtTags.getByteArray("config" + type.ordinal()));
|
{
|
||||||
ejecting.put(type.ordinal(), nbtTags.getBoolean("ejecting" + type.ordinal()));
|
sideConfigs.put(type.ordinal(), nbtTags.getByteArray("config" + type.ordinal()));
|
||||||
}
|
ejecting.put(type.ordinal(), nbtTags.getBoolean("ejecting" + type.ordinal()));
|
||||||
|
}
|
||||||
|
} catch(Exception e) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue