mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-24 22:04:49 +00:00
Crash fix
This commit is contained in:
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"))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user