3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 02:20:07 +01:00

Update upstream

5843aa5 Change vector command converter wording. (2059)
Dieser Commit ist enthalten in:
NotMyFault 2022-03-13 19:19:59 +01:00
Ursprung 5a97b23347
Commit d400a470a1
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C
2 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -59,7 +59,7 @@ public class Chunk3dVectorConverter<C, T> implements ArgumentConverter<T> {
}
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"
)
);
}

Datei anzeigen

@ -48,7 +48,7 @@ public class VectorConverter<C, T> implements ArgumentConverter<T> {
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<C, T> implements ArgumentConverter<T> {
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<C, T> implements ArgumentConverter<T> {
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<C, T> implements ArgumentConverter<T> {
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"
)
);
}