Fix dyes tag containing dye items instead of tags

Update generated data
This commit is contained in:
tterrag committed 2020-01-05 19:03:49 -05:00
1 parent 6e8b976089
commit df04ae11ef
3 files changed
+21 -19

No files matched your search

@@ -146,7 +146,7 @@ public class ForgeItemTagsProvider extends ItemTagsProvider
copy(Tags.Blocks.SUPPORTS_CONDUIT, Tags.Items.SUPPORTS_CONDUIT);
}
private void addColored(Consumer<Item> consumer, Tag<Item> group, String pattern)
private void addColored(Consumer<Tag<Item>> consumer, Tag<Item> group, String pattern)
{
String prefix = group.getId().getPath().toUpperCase(Locale.ENGLISH) + '_';
for (DyeColor color : DyeColor.values())
@@ -157,7 +157,7 @@ public class ForgeItemTagsProvider extends ItemTagsProvider
if (item == null || item == Items.AIR)
throw new IllegalStateException("Unknown vanilla item: " + key.toString());
getBuilder(tag).add(item);
consumer.accept(item);
consumer.accept(tag);
}
}