mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-17 14:03:55 +00:00
Added support for stretched cylinders and brought their profile in line with that of the central layer of a sphere of the same x/z radius.
This commit is contained in:
@ -33,6 +33,6 @@ public class CylinderBrush implements Brush {
|
||||
|
||||
public void build(EditSession editSession, Vector pos, Pattern mat, double size)
|
||||
throws MaxChangedBlocksException {
|
||||
editSession.makeCylinder(pos, mat, size, height);
|
||||
editSession.makeCylinder(pos, mat, size, size, height, true);
|
||||
}
|
||||
}
|
||||
|
@ -33,6 +33,6 @@ public class HollowCylinderBrush implements Brush {
|
||||
|
||||
public void build(EditSession editSession, Vector pos, Pattern mat, double size)
|
||||
throws MaxChangedBlocksException {
|
||||
editSession.makeHollowCylinder(pos, mat, size, height);
|
||||
editSession.makeCylinder(pos, mat, size, size, height, false);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user