fix bottom filler

This commit is contained in:
Sen 2025-05-21 12:15:13 +02:00
parent c62e3386aa
commit 7b6cff41c5

View file

@ -422,7 +422,7 @@ public final class WorldServer extends AWorldServer {
this.caveGen = this.createCaveGenerator();
this.bigCaveGen = this.createBigCaveGenerator();
this.ravineGen = this.createRavineGenerator();
this.base = this.dimension.getWorldFloor();
this.base = this.dimension.getFiller().getBlock() == Blocks.air ? null : this.dimension.getFiller();
this.ceil = this.dimension.getWorldCeiling();
this.mobs = this.dimension.hasMobs();
this.snow = this.dimension.hasSnow();
@ -1745,7 +1745,7 @@ public final class WorldServer extends AWorldServer {
this.replacer = null;
this.populate = false;
this.liquid = Blocks.air.getState();
this.base = Blocks.air.getState();
this.base = null;
this.ceil = null;
this.height = this.generator.getMaximumHeight();
this.seaLevel = this.dimension.getSeaLevel();