Fixes #3081: Fixes blocking mode blocking on empty inventory. (#3082)

This commit is contained in:
yueh 2017-09-11 12:03:32 +02:00 committed by GitHub
parent db1cd8c312
commit 771a944058

View file

@ -990,7 +990,7 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn
final InventoryAdaptor ad = InventoryAdaptor.getAdaptor( te, s.getOpposite() );
if( ad != null )
{
if( !ad.simulateRemove( 1, ItemStack.EMPTY, null ).isEmpty() )
if( ad.simulateRemove( 1, ItemStack.EMPTY, null ).isEmpty() )
{
allAreBusy = false;
break;