Fix facade recipes. Hopefully the last null check fix.

This commit is contained in:
Gunther De Wachter
2017-06-27 20:39:06 +02:00
parent b819fe4adb
commit 61b81fc802
52 changed files with 101 additions and 83 deletions
@@ -78,7 +78,7 @@ public final class DisassembleRecipe implements IRecipe
@Override
public boolean matches( final InventoryCrafting inv, final World w )
{
return this.getOutput( inv ) != null;
return !this.getOutput( inv ).isEmpty();
}
@Nullable
@@ -111,7 +111,7 @@ public final class DisassembleRecipe implements IRecipe
final IItemList<IAEItemStack> list = cellInv.getAvailableItems( StorageChannel.ITEMS.createList() );
if( !list.isEmpty() )
{
return null;
return ItemStack.EMPTY;
}
}