fixed unknown recipe types. Fixes #1068

This commit is contained in:
gnembon committed 2021-08-19 09:43:00 -03:00
1 parent 03353a7675
commit 6222c97375
3 files changed
+5 -3

No files matched your search

@@ -93,7 +93,7 @@ public class Inventories {
CarpetContext cc = (CarpetContext)c;
if (lv.size() < 1) throw new InternalExpressionException("'recipe_data' requires at least one argument");
String recipeName = lv.get(0).getString();
RecipeType type = RecipeType.CRAFTING;
RecipeType<?> type = RecipeType.CRAFTING;
if (lv.size() > 1)
{
String recipeType = lv.get(1).getString();