Removed unneeded null checks.
This commit is contained in:
parent
3e2a3cfaa8
commit
a6451e7946
1 changed files with 0 additions and 6 deletions
|
@ -158,9 +158,6 @@ public class TileCentrifuge extends TileMachineBase implements IInventory, IWren
|
|||
if(getOutputItemStack(slot) == null){
|
||||
return;
|
||||
}
|
||||
if(getOutputItemStack(slot).getItem() == null){
|
||||
return;
|
||||
}
|
||||
decrStackSize(slot + 1, -amount);
|
||||
}
|
||||
|
||||
|
@ -168,9 +165,6 @@ public class TileCentrifuge extends TileMachineBase implements IInventory, IWren
|
|||
if(stack == null){
|
||||
return;
|
||||
}
|
||||
if(stack.getItem() == null){
|
||||
return;
|
||||
}
|
||||
setInventorySlotContents(slot + 1, stack);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue