From 4e7abf56dad67a162a7d86a69b3077e793e3ba9b Mon Sep 17 00:00:00 2001 From: Tyler Wesley Date: Wed, 11 Sep 2024 07:48:12 -0500 Subject: [PATCH] Changes /curve /line thickness param from int to double (#2623) --- .../main/java/com/sk89q/worldedit/command/RegionCommands.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java index fa9085993a..d956c56e70 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java @@ -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))) { @@ -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)) {