Skip to content

Commit

Permalink
use isSurfaceWorld() instead of instanceof WorldProviderSurface
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilzinsel64 committed Jan 4, 2025
1 parent 66dcd83 commit 402af58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private void generateEnd(World world, Random random, int chunkX, int chunkZ) {}
// Handled by original already
return;
}
if (world.provider instanceof WorldProviderSurface) {
if (world.provider.isSurfaceWorld()) {
if (PlantMegaPack.settingsGeneral.worldgenOverworldRate > 0) {
generateSurface(world, random, chunkX * 16, chunkZ * 16);
}
Expand Down

0 comments on commit 402af58

Please sign in to comment.