Changed to Null ItemStack instead of null.

This commit is contained in:
yueh
2016-12-21 20:27:23 +01:00
parent ed9e6dd21c
commit 1cde7bc933
36 changed files with 95 additions and 78 deletions
@@ -174,13 +174,13 @@ public class AppEngInternalAEInventory implements IInventory, Iterable<ItemStack
return ns;
}
return null;
return ItemStack.EMPTY;
}
@Override
public ItemStack removeStackFromSlot( final int var1 )
{
return null;
return ItemStack.EMPTY;
}
@Override
@@ -99,7 +99,7 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
return ns;
}
return null;
return ItemStack.EMPTY;
}
protected boolean eventsEnabled()
@@ -110,7 +110,7 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
@Override
public ItemStack removeStackFromSlot( final int var1 )
{
return null;
return ItemStack.EMPTY;
}
@Override
@@ -46,19 +46,19 @@ public class AppEngNullInventory implements IInventory
@Override
public ItemStack getStackInSlot( final int var1 )
{
return null;
return ItemStack.EMPTY;
}
@Override
public ItemStack decrStackSize( final int slot, final int qty )
{
return null;
return ItemStack.EMPTY;
}
@Override
public ItemStack removeStackFromSlot( final int var1 )
{
return null;
return ItemStack.EMPTY;
}
@Override