Update interface crafting lists.

This commit is contained in:
AlgorithmX2
2014-05-22 21:41:24 -05:00
parent e2c3e18133
commit e47bc5965d
+2 -1
View File
@@ -252,6 +252,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
patterns.readFromNBT( data, "patterns" ); patterns.readFromNBT( data, "patterns" );
storage.readFromNBT( data, "storage" ); storage.readFromNBT( data, "storage" );
readConfig(); readConfig();
updateCraftingList();
} }
AppEngInternalAEInventory config = new AppEngInternalAEInventory( this, 8 ); AppEngInternalAEInventory config = new AppEngInternalAEInventory( this, 8 );
@@ -471,7 +472,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
if ( inv == config ) if ( inv == config )
readConfig(); readConfig();
else if ( inv == patterns ) else if ( inv == patterns && (removed != null || added != null) )
updateCraftingList(); updateCraftingList();
else if ( inv == storage && slot >= 0 ) else if ( inv == storage && slot >= 0 )
{ {