From 28ed88551fda42d7290d35b7aebe00ea3bc5c5fa Mon Sep 17 00:00:00 2001 From: Harvestminer Date: Mon, 9 Sep 2024 15:13:29 -0500 Subject: [PATCH] Changes /curve /line thickness param from int to double --- .../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)) {