mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-08 17:07:38 +00:00
Fix -f flag
This commit is contained in:
parent
017a28b3dd
commit
bb06492091
@ -41,7 +41,7 @@ public class FallingSphere implements Brush {
|
||||
int startY = Math.max(minY, py - yRadius);
|
||||
int endY = Math.min(maxY, py + yRadius);
|
||||
|
||||
int heightY = editSession.getHighestTerrainBlock(ax, az, startY, endY);
|
||||
int heightY = editSession.getHighestTerrainBlock(ax, az, editSession.getMinY(), endY);
|
||||
if (heightY < startY) {
|
||||
int diff = startY - heightY;
|
||||
startY -= diff;
|
||||
|
Loading…
Reference in New Issue
Block a user