fix: set biome biome on clear (#2510)

* fix: set biome biome on clear
 - fixes #2509

* Nicer biome setting method
This commit is contained in:
Jordan 2023-12-07 17:24:05 +00:00 committed by GitHub
parent 11069ee34b
commit 769d8b3a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,6 +160,10 @@ public class FaweDelegateRegionManager {
);
editSession.setBlocks(onTop, air);
}
FlatRegionFunction replace = new BiomeReplace(editSession, biome);
FlatRegionVisitor visitor = new FlatRegionVisitor((CuboidRegion) floorRegion, replace, editSession);
Operations.completeLegacy(visitor);
}
if (hybridPlotWorld.PLOT_SCHEMATIC) {