Temp crash fix

This commit is contained in:
Aidan Brady 2013-11-29 13:33:36 -05:00
parent 20162970d8
commit 65b305b27d

View file

@ -188,7 +188,10 @@ public class TileEntityGasTank extends TileEntityContainerBlock implements IGasS
{
super.readFromNBT(nbtTags);
gasStored = GasStack.readFromNBT(nbtTags.getCompoundTag("gasStored"));
try {
gasStored = GasStack.readFromNBT(nbtTags.getCompoundTag("gasStored"));
} catch(Exception e) {}
controlType = RedstoneControl.values()[nbtTags.getInteger("controlType")];
}