From d6221ab212e01f31148296736e6853f3c308f74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9meth=20Noel?= Date: Fri, 9 Jul 2021 20:05:46 +0200 Subject: [PATCH] fix boolean order --- .../command/builder/arguments/relative/ArgumentRelativeVec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/command/builder/arguments/relative/ArgumentRelativeVec.java b/src/main/java/net/minestom/server/command/builder/arguments/relative/ArgumentRelativeVec.java index daf251ea9..dc4c4f37f 100644 --- a/src/main/java/net/minestom/server/command/builder/arguments/relative/ArgumentRelativeVec.java +++ b/src/main/java/net/minestom/server/command/builder/arguments/relative/ArgumentRelativeVec.java @@ -80,7 +80,7 @@ abstract class ArgumentRelativeVec extends Argument { return new RelativeVec(split.length == 3 ? new Vec(coordinates[0], coordinates[1], coordinates[2]) : new Vec(coordinates[0], coordinates[1]), type, - isRelative[0], isRelative[1], isRelative[2]); + isRelative[0], split.length == 3 && isRelative[1], isRelative[split.length == 3 ? 2 : 1]); } /**