[Change] DataGen will force write references to other Tags without any error checks

This commit is contained in:
Frank 2023-05-21 01:57:37 +02:00
parent d694a09cdf
commit 3e66e8e9c5

View file

@ -57,7 +57,7 @@ public class TagDataProvider<T> extends FabricTagProvider<T> {
tags.sort(Comparator.comparing(a -> a.location().toString())); tags.sort(Comparator.comparing(a -> a.location().toString()));
locs.forEach(builder::add); locs.forEach(builder::add);
tags.forEach(builder::addTag); tags.forEach(builder::forceAddTag);
}, (tag, loc) -> shouldAdd(tag.location()) || this.shouldAdd(loc)); }, (tag, loc) -> shouldAdd(tag.location()) || this.shouldAdd(loc));
} }
} }