Fixed arrayindexoutofbounds with removed recipes

This commit is contained in:
Auxilor
2021-09-17 20:21:27 +01:00
parent 3745d922d7
commit 948228b8ba

View File

@@ -182,7 +182,7 @@ public class TalismanLevel {
List<String> recipeStrings = this.getConfig().getStrings(Talismans.OBTAINING_LOCATION + "recipe");
for (int i = 0; i < 9; i++) {
for (int i = 0; i < recipeStrings.size(); i++) {
builder.setRecipePart(i, Items.lookup(recipeStrings.get(i)));
}