From e0b8b4856d22bc3edc7879e291a5502b79664fc3 Mon Sep 17 00:00:00 2001 From: wizjany Date: Sun, 13 Sep 2020 10:15:42 -0400 Subject: [PATCH] Fix //chunk text and clarify the y-index in the help text. Closes #1447. --- .../java/com/sk89q/worldedit/command/SelectionCommands.java | 3 ++- worldedit-core/src/main/resources/lang/strings.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/SelectionCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/SelectionCommands.java index 42a28250c..085cd6ede 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/SelectionCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/SelectionCommands.java @@ -206,7 +206,8 @@ public void hpos2(Player player, LocalSession session) throws WorldEditException @Command( name = "/chunk", - desc = "Set the selection to your current chunk." + desc = "Set the selection to your current chunk.", + descFooter = "This command selects 256-block-tall areas,\nwhich can be specified by the y-coordinate.\nE.g. -c x,1,z will select from y=256 to y=511." ) @Logging(POSITION) @CommandPermissions("worldedit.selection.chunk") diff --git a/worldedit-core/src/main/resources/lang/strings.json b/worldedit-core/src/main/resources/lang/strings.json index 03569a2e1..6b112b54c 100644 --- a/worldedit-core/src/main/resources/lang/strings.json +++ b/worldedit-core/src/main/resources/lang/strings.json @@ -114,7 +114,7 @@ "worldedit.hpos.no-block": "No block in sight!", "worldedit.hpos.already-set": "Position already set.", "worldedit.chunk.selected-multiple": "Chunks selected: ({0}, {1}, {2}) - ({3}, {4}, {5})", - "worldedit.chunk.selected": "Chunk selected: {0}, {1}, {3}", + "worldedit.chunk.selected": "Chunk selected: {0}, {1}, {2}", "worldedit.wand.invalid": "Wand item is mis-configured or disabled.", "worldedit.wand.selwand.info": "Left click: select pos #1; Right click: select pos #2", "worldedit.wand.navwand.info": "Left click: jump to location; Right click: pass through walls",