mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 09:17:39 +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 startY = Math.max(minY, py - yRadius);
|
||||||
int endY = Math.min(maxY, 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) {
|
if (heightY < startY) {
|
||||||
int diff = startY - heightY;
|
int diff = startY - heightY;
|
||||||
startY -= diff;
|
startY -= diff;
|
||||||
|
Loading…
Reference in New Issue
Block a user