mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Crash fix
This commit is contained in:
1 parent
5513859216
commit
f6f75e6ea1
1 file changed
+1
-1
@@ -242,7 +242,7 @@ public final class StackUtils
|
||||
|
||||
public static int hashItemStack(ItemStack stack)
|
||||
{
|
||||
if(stack == null)
|
||||
if(stack == null || stack.getItem() == null)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user