mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 13:37:58 +01:00
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:
parent
a43f5d2022
commit
895a7bff60
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue