Fixed issue with interface not saving upgrades.
This commit is contained in:
parent
942f63c933
commit
be3e8ebeeb
1 changed files with 2 additions and 0 deletions
|
@ -251,6 +251,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
|
||||||
config.writeToNBT( data, "config" );
|
config.writeToNBT( data, "config" );
|
||||||
patterns.writeToNBT( data, "patterns" );
|
patterns.writeToNBT( data, "patterns" );
|
||||||
storage.writeToNBT( data, "storage" );
|
storage.writeToNBT( data, "storage" );
|
||||||
|
upgrades.writeToNBT( data, "upgrades" );
|
||||||
craftingTracker.writeToNBT( data );
|
craftingTracker.writeToNBT( data );
|
||||||
|
|
||||||
NBTTagList waitingToSend = new NBTTagList();
|
NBTTagList waitingToSend = new NBTTagList();
|
||||||
|
@ -284,6 +285,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
|
||||||
}
|
}
|
||||||
|
|
||||||
craftingTracker.readFromNBT( data );
|
craftingTracker.readFromNBT( data );
|
||||||
|
upgrades.readFromNBT( data, "upgrades" );
|
||||||
config.readFromNBT( data, "config" );
|
config.readFromNBT( data, "config" );
|
||||||
patterns.readFromNBT( data, "patterns" );
|
patterns.readFromNBT( data, "patterns" );
|
||||||
storage.readFromNBT( data, "storage" );
|
storage.readFromNBT( data, "storage" );
|
||||||
|
|
Loading…
Reference in a new issue