Skip to content

Commit

Permalink
Changes /curve /line thickness param from int to double (#2623)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harvestminer committed Sep 11, 2024
1 parent d3c59b1 commit 4e7abf5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public int line(Actor actor, EditSession editSession,
@Arg(desc = "The pattern of blocks to place")
Pattern pattern,
@Arg(desc = "The thickness of the line", def = "0")
int thickness,
double thickness,
@Switch(name = 'h', desc = "Generate only a shell")
boolean shell) throws WorldEditException {
if (!((region instanceof CuboidRegion) || (region instanceof ConvexPolyhedralRegion))) {
Expand Down Expand Up @@ -168,7 +168,7 @@ public int curve(Actor actor, EditSession editSession,
@Arg(desc = "The pattern of blocks to place")
Pattern pattern,
@Arg(desc = "The thickness of the curve", def = "0")
int thickness,
double thickness,
@Switch(name = 'h', desc = "Generate only a shell")
boolean shell) throws WorldEditException {
if (!(region instanceof ConvexPolyhedralRegion cpregion)) {
Expand Down

0 comments on commit 4e7abf5

Please sign in to comment.