Crash fix
This commit is contained in:
parent
cdcaabe59c
commit
d98c4c181e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public abstract class MachineInput<INPUT extends MachineInput<INPUT>>
|
|||
|
||||
public static boolean inputContains(ItemStack container, ItemStack contained)
|
||||
{
|
||||
if(container.stackSize >= contained.stackSize)
|
||||
if(container != null && container.stackSize >= contained.stackSize)
|
||||
{
|
||||
if(MekanismUtils.getOreDictName(container).contains("treeSapling"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue