mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-03 19:56:40 +00:00
Have upperY and lowerY on GroundFindingFunction be set via mutators.
This commit is contained in:
@ -576,10 +576,9 @@ public class RegionCommands {
|
||||
flatRegion = CuboidRegion.makeCuboid(region);
|
||||
}
|
||||
|
||||
int upperY = flatRegion.getMaximumY();
|
||||
int lowerY = flatRegion.getMinimumY();
|
||||
|
||||
FloraPlacer generator = new FloraPlacer(editSession, lowerY, upperY);
|
||||
FloraPlacer generator = new FloraPlacer(editSession);
|
||||
generator.setLowerY(flatRegion.getMinimumY());
|
||||
generator.setUpperY(flatRegion.getMaximumY());
|
||||
generator.setDensity(density);
|
||||
int affected = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user