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:
parent
bde2abe01d
commit
a8bcb76db6
1 changed files with 0 additions and 10 deletions
|
@ -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!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue