Revert "Now checks that an item in a stack is not null, will throw a NPE if one is found."

This reverts commit a483d48a2f.
This commit is contained in:
modmuss50 2015-11-08 19:46:11 +00:00
parent bde2abe01d
commit a8bcb76db6

View file

@ -74,16 +74,6 @@ public class RecipeHandler {
buffer.append(ste);
}
stackMap.put(recipe, buffer.toString());
for(ItemStack stack : recipe.getOutputs()){
if(stack.getItem() == null){
throw new NullPointerException("Null item in stack!");
}
}
for(ItemStack stack : recipe.getInputs()){
if(stack.getItem() == null){
throw new NullPointerException("Null item in stack!");
}
}
}