diff --git a/src/main/java/appeng/helpers/DualityInterface.java b/src/main/java/appeng/helpers/DualityInterface.java index 224d463a8..8e9b7acb1 100644 --- a/src/main/java/appeng/helpers/DualityInterface.java +++ b/src/main/java/appeng/helpers/DualityInterface.java @@ -464,14 +464,7 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn } try { - if( removed ) - { - this.gridProxy.getGrid().postEvent( new MENetworkCraftingPatternChange( this, this.gridProxy.getNode() ) ); - } - else if( newPattern ) - { - this.provideCrafting( (ICraftingProviderHelper) this.gridProxy.getCrafting() ); - } + this.gridProxy.getGrid().postEvent( new MENetworkCraftingPatternChange( this, this.gridProxy.getNode() ) ); } catch( GridAccessException e ) { diff --git a/src/main/java/appeng/me/cache/CraftingGridCache.java b/src/main/java/appeng/me/cache/CraftingGridCache.java index b02f97001..de7374bd9 100644 --- a/src/main/java/appeng/me/cache/CraftingGridCache.java +++ b/src/main/java/appeng/me/cache/CraftingGridCache.java @@ -411,27 +411,6 @@ public class CraftingGridCache implements ICraftingGrid, ICraftingProviderHelper { details.add( medium ); } - - if( !updatePatterns ) - { - List newCraftables = new ArrayList<>(); - - ObjectSet b = new ObjectRBTreeSet<>( COMPARATOR ); - ImmutableList a = this.craftableItems.get( api.getCondensedOutputs()[0] ); - if( a != null ) - { - b.addAll( this.craftableItems.get( api.getOutputs()[0] ) ); - } - b.add( api ); - - for( IAEItemStack stack : api.getCondensedOutputs() ) - { - IAEItemStack i = stack.copy().reset().setCraftable( true ); - this.craftableItems.put( i, ImmutableList.copyOf( b ) ); - newCraftables.add( i ); - } - this.storageGrid.postCraftablesChanges( AEApi.instance().storage().getStorageChannel( IItemStorageChannel.class ), newCraftables, new BaseActionSource() ); - } } @Override