Update src/main/java/fr/moribus/imageonmap/commands/maptool/GetCommand.java

Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
Vlammar 2021-02-05 16:52:50 +01:00 committed by GitHub
parent e5bd1fd805
commit 003643e3cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ public class GetCommand extends IoMCommand {
return;
}
if (arguments.size() < 1) {
warning(I.t("Too few parameters! Usage: /maptool get [playername]:<mapname>"));
throwInvalidArgument(I.t("Too few parameters!"));
return;
}
final String playerName;