- remove redundant thing

- tweaks to feature injectors
This commit is contained in:
dags- 2020-06-26 18:52:28 +01:00
parent b16d64a5c7
commit d8766939ba

View File

@ -106,7 +106,7 @@ public class TerraSetupFactory {
modifiers.getPredicates().add(Matchers.sedimentDisks(), FeaturePredicate.DENY); modifiers.getPredicates().add(Matchers.sedimentDisks(), FeaturePredicate.DENY);
modifiers.getPredicates().add(FeatureMatcher.of(Feature.MINESHAFT), new MinHeight(context.levels.waterY + 20)); modifiers.getPredicates().add(FeatureMatcher.of(Feature.MINESHAFT), new MinHeight(context.levels.waterY + 20));
return FeatureManager.create(context.world, SetupHooks.setup(modifiers, context.copy())); return FeatureManager.create(SetupHooks.setup(modifiers, context.copy()));
} }
public static SurfaceManager createSurfaceManager(TerraContext context) { public static SurfaceManager createSurfaceManager(TerraContext context) {