Fix NPE with matchItem (#33)

This commit is contained in:
miozune authored and GitHub committed 2022-09-28 19:12:51 +02:00
1 parent a52b5b53e3
commit d0be7d5e25
1 file changed
+1
@@ -129,6 +129,7 @@ public class NEIMeteorRecipeHandler extends TemplateRecipeHandler {
}
private boolean matchItem(ItemStack compared, ItemStack compareTo) {
if (compared == null || compareTo == null) return false;
if (NEIServerUtils.areStacksSameTypeCrafting(compared, compareTo)) {
return true;
}