Skip to content

Commit

Permalink
Update GTOreProcessingWidget.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Yefancy committed Dec 10, 2023
1 parent a603c30 commit d4019de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ private void setupMainProducts(List<List<ItemStack>> mainproducts, Material mate
//Ore
List<ItemStack> oreSlot = new ArrayList<>();
for (TagKey<Item> tag : ore.getItemTags(material)) {
for (Holder<Item> itemHolder : BuiltInRegistries.ITEM.getTagOrEmpty(tag)) {
for (Holder<Item> itemHolder : Registry.ITEM.getTagOrEmpty(tag)) {
oreSlot.add(new ItemStack(itemHolder.value()));
}
}
Expand Down

0 comments on commit d4019de

Please sign in to comment.