mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
Fixed EditSession.makeCylinder's mimimum height check
This commit is contained in:
@ -2077,8 +2077,8 @@ public class EditSession {
|
||||
pos = pos.subtract(0, height, 0);
|
||||
}
|
||||
|
||||
if (pos.getBlockY() - height - 1 < 0) {
|
||||
height = pos.getBlockY() + 1;
|
||||
if (pos.getBlockY() < 0) {
|
||||
pos = pos.setY(0);
|
||||
} else if (pos.getBlockY() + height - 1 > world.getMaxY()) {
|
||||
height = world.getMaxY() - pos.getBlockY() + 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user