No, bad RuntimeException!!
Of course I oversaw the second one... No PR this time since I just cp'd the exception class
This commit is contained in:
parent
e829e371d1
commit
61188e755d
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public class RecipeManager {
|
|||
|
||||
public static RebornRecipeType<?> getRecipeType(Identifier name) {
|
||||
if (!recipeTypes.containsKey(name)) {
|
||||
throw new RuntimeException("RebornRecipe type " + name + " not found");
|
||||
throw new IllegalStateException("RebornRecipe type " + name + " not found");
|
||||
}
|
||||
return recipeTypes.get(name);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue