Crash fix

This commit is contained in:
aidancbrady committed 2016-04-29 22:56:09 -04:00
1 parent cdcaabe59c
commit d98c4c181e
1 file changed
+1 -1
@@ -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"))
{