Crash fix

This commit is contained in:
Aidan C. Brady committed 2015-03-23 22:00:43 -04:00
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;
}