mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
fix boolean order
This commit is contained in:
parent
47a0447f12
commit
d6221ab212
@ -80,7 +80,7 @@ abstract class ArgumentRelativeVec extends Argument<RelativeVec> {
|
||||
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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user