mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-11-16 07:05:14 +01:00
Update src/main/java/fr/moribus/imageonmap/commands/maptool/GiveCommand.java
Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
parent
9bac0bfa5e
commit
05b70e1f2a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user