3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

fix: set biome biome on clear (#2510)

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

* Nicer biome setting method
Dieser Commit ist enthalten in:
Jordan 2023-12-07 17:24:05 +00:00 committet von GitHub
Ursprung 11069ee34b
Commit 769d8b3a7a
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -160,6 +160,10 @@ public class FaweDelegateRegionManager {
); );
editSession.setBlocks(onTop, air); 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) { if (hybridPlotWorld.PLOT_SCHEMATIC) {