Update interface crafting lists.
This commit is contained in:
@@ -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 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user