From d400a470a117af9d29bcc1b3cdc521ba8d552e66 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Sun, 13 Mar 2022 19:19:59 +0100 Subject: [PATCH] Update upstream 5843aa5 Change vector command converter wording. (2059) --- .../command/argument/Chunk3dVectorConverter.java | 2 +- .../sk89q/worldedit/command/argument/VectorConverter.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/Chunk3dVectorConverter.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/Chunk3dVectorConverter.java index d63bdcfa6..fff5832cc 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/Chunk3dVectorConverter.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/Chunk3dVectorConverter.java @@ -59,7 +59,7 @@ public class Chunk3dVectorConverter implements ArgumentConverter { } throw new AssertionError("Expected 2 or 3 components"); }, - "block vector with x,z or x,y,z" + "block vector in the form x,z or x,y,z" ) ); } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/VectorConverter.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/VectorConverter.java index 6349f3d21..860c7bd2b 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/VectorConverter.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/VectorConverter.java @@ -48,7 +48,7 @@ public class VectorConverter implements ArgumentConverter { INT_CONVERTER, 3, cmps -> BlockVector3.at(cmps.get(0), cmps.get(1), cmps.get(2)), - "block vector with x, y, and z" + "block vector in the form x,y,z" ); public static void register(CommandManager commandManager) { @@ -60,7 +60,7 @@ public class VectorConverter implements ArgumentConverter { INT_CONVERTER, 2, cmps -> BlockVector2.at(cmps.get(0), cmps.get(1)), - "block vector with x and z" + "block vector in the form x,z" ) ); commandManager.registerConverter( @@ -69,7 +69,7 @@ public class VectorConverter implements ArgumentConverter { doubleConverter, 2, cmps -> Vector2.at(cmps.get(0), cmps.get(1)), - "vector with x and z" + "vector in the form x,z" ) ); commandManager.registerConverter(Key.of(BlockVector3.class), BLOCK_VECTOR_3_CONVERTER); @@ -79,7 +79,7 @@ public class VectorConverter implements ArgumentConverter { doubleConverter, 3, cmps -> Vector3.at(cmps.get(0), cmps.get(1), cmps.get(2)), - "vector with x, y, and z" + "vector in the form x,y,z" ) ); }