mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Fix some more null ItemStacks found with Idea
This commit is contained in:
1 parent
2c1532b293
commit
8599224fca
10 files changed
+25
-24
No files matched your search
@@ -56,7 +56,7 @@ public class TileEntityAdvancedBoundingBlock extends TileEntityBoundingBlock imp
|
||||
{
|
||||
if(getInv() == null)
|
||||
{
|
||||
return null;
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
|
||||
return getInv().getStackInSlot(i);
|
||||
@@ -67,7 +67,7 @@ public class TileEntityAdvancedBoundingBlock extends TileEntityBoundingBlock imp
|
||||
{
|
||||
if(getInv() == null)
|
||||
{
|
||||
return null;
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
|
||||
return getInv().decrStackSize(i, j);
|
||||
@@ -78,7 +78,7 @@ public class TileEntityAdvancedBoundingBlock extends TileEntityBoundingBlock imp
|
||||
{
|
||||
if(getInv() == null)
|
||||
{
|
||||
return null;
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
|
||||
return getInv().removeStackFromSlot(i);
|
||||
|
||||
Reference in new issue
Block a user