Change criterion check to an OR for tribe joins

# Conflicts:
#	src/main/java/com/minelittlepony/unicopia/datagen/providers/UAdvancementsProvider.java
This commit is contained in:
Sollace 2024-10-13 18:18:50 +01:00
parent a43f5d2022
commit 895a7bff60
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -67,6 +67,7 @@ public class UAdvancementsProvider extends FabricAdvancementProvider {
for (Race r : extra) {
builder.criterion("be_" + r.getId().getPath(), new RaceChangeCriterion.Conditions(LootContextPredicate.EMPTY, r));
}
builder.criteriaMerger(CriterionMerger.OR);
}
return builder.build(consumer, race.getId().getPath() + "_route");