Fixed issue with interface not saving upgrades.

This commit is contained in:
AlgorithmX2 2014-07-12 14:27:51 -05:00
parent 942f63c933
commit be3e8ebeeb

View file

@ -251,6 +251,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
config.writeToNBT( data, "config" );
patterns.writeToNBT( data, "patterns" );
storage.writeToNBT( data, "storage" );
upgrades.writeToNBT( data, "upgrades" );
craftingTracker.writeToNBT( data );
NBTTagList waitingToSend = new NBTTagList();
@ -284,6 +285,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
}
craftingTracker.readFromNBT( data );
upgrades.readFromNBT( data, "upgrades" );
config.readFromNBT( data, "config" );
patterns.readFromNBT( data, "patterns" );
storage.readFromNBT( data, "storage" );