diff --git a/gradle.properties b/gradle.properties index 993731d66..0a15da53c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ aeversion=rv6 -aechannel=alpha -aebuild=0 +aechannel=stable +aebuild=7 aegroup=appeng aebasename=appliedenergistics2 diff --git a/src/main/java/appeng/helpers/DualityInterface.java b/src/main/java/appeng/helpers/DualityInterface.java index 3c1791bca..17588c934 100644 --- a/src/main/java/appeng/helpers/DualityInterface.java +++ b/src/main/java/appeng/helpers/DualityInterface.java @@ -430,14 +430,18 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn this.requireWork[slot] = req.copy(); return; } - else if( req.isSameType( stored ) ) // same type ( qty different? )! + else if( req.isSameType( stored ) ) // same type and quantity )! { - if( req.getStackSize() != stored.getCount() ) + if( req.getStackSize() == stored.getCount()) + { + this.requireWork[slot] = null; + } + else // same type ( qty different? )! { this.requireWork[slot] = req.copy(); this.requireWork[slot].setStackSize( req.getStackSize() - stored.getCount() ); - return; } + return; } else // Stored != null; dispose!