--- a/net/minecraft/world/level/levelgen/carver/CarvingContext.java
+++ b/net/minecraft/world/level/levelgen/carver/CarvingContext.java
@@ -27,9 +_,9 @@
         LevelHeightAccessor level,
         NoiseChunk noiseChunk,
         RandomState randomState,
-        SurfaceRules.RuleSource surfaceRule
+        SurfaceRules.RuleSource surfaceRule, @javax.annotation.Nullable net.minecraft.world.level.Level serverLevel  // Paper - Flat bedrock generator settings
     ) {
-        super(generator, level);
+        super(generator, level, serverLevel); // Paper - Flat bedrock generator settings
         this.registryAccess = registryAccess;
         this.noiseChunk = noiseChunk;
         this.randomState = randomState;
