Fix facade recipes. Hopefully the last null check fix.
This commit is contained in:
@@ -254,9 +254,9 @@ public class TileVibrationChamber extends AENetworkInvTile implements IGridTicka
|
||||
is.grow( -1 );
|
||||
if( is.getCount() <= 0 )
|
||||
{
|
||||
ItemStack container = null;
|
||||
ItemStack container = ItemStack.EMPTY;
|
||||
|
||||
if( is.getItem() != null && is.getItem().hasContainerItem( is ) )
|
||||
if( is.getItem() != Items.AIR && is.getItem().hasContainerItem( is ) )
|
||||
{
|
||||
container = is.getItem().getContainerItem( is );
|
||||
}
|
||||
|
||||
@@ -265,7 +265,7 @@ public class TileDrive extends AENetworkInvTile implements IChestOrDrive, IPrior
|
||||
@Override
|
||||
public boolean isItemValidForSlot( final int i, final ItemStack itemstack )
|
||||
{
|
||||
return itemstack != null && AEApi.instance().registries().cell().isCellHandled( itemstack );
|
||||
return !itemstack.isEmpty() && AEApi.instance().registries().cell().isCellHandled( itemstack );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user