Attempt a fix at factory world transition

This commit is contained in:
Aidan C. Brady 2015-03-19 18:12:06 -04:00
parent cef1f02569
commit d3df5c5ce7

View file

@ -145,11 +145,13 @@ public class TileComponentConfig implements ITileComponent
{
for(TransmissionType type : transmissions)
{
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()));
}
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()));
}
} catch(Exception e) {}
}
}
}