mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-18 11:19:21 +00:00
Fix NPE with matchItem (#33)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user