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

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

View File

@ -82,7 +82,7 @@ public class GiveCommand extends IoMCommand {
playerSender1 = playerSender();
} catch (CommandException ignored) {
if (arguments.size() == 2) {
throwInvalidArgument(I.t("Usage: /maptool give <playername> <playerFrom>:<mapname>"));
throwInvalidArgument(I.t("Player name is required from the console"));
}
playerSender1 = null;
}