This commit is contained in:
paulevsGitch 2020-10-24 19:00:58 +03:00
parent 35f9c02d76
commit bc7217aff3
6 changed files with 23 additions and 56 deletions

View file

@ -73,7 +73,11 @@ public class FeatureRegistry {
if (path.equals("end_highlands") || path.equals("end_midlands") || path.equals("small_end_islands")) {
int pos = GenerationStep.Feature.VEGETAL_DECORATION.ordinal();
if (pos < features.size()) {
features.get(pos).clear();
List<Supplier<ConfiguredFeature<?, ?>>> list = features.get(pos);
// If only chorus plants are enabled
if (list.size() < 2) {
features.get(pos).clear();
}
}
}
}