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

Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
Vlammar 2021-02-05 16:53:32 +01:00 committed by GitHub
parent 8da7f86978
commit ded8368882
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public class ExploreCommand extends IoMCommand {
protected void run() throws CommandException {
ArrayList<String> arguments = getArgs();
if (arguments.size() > 1) {
warning(I.t("Too many parameters! Usage: /maptool explore [playername]"));
throwInvalidArgument(I.t("Too many parameters!"));
return;
}
final String playerName;