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:50 +01:00 committed by GitHub
parent 0d008126a3
commit eae2e48a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,9 +112,7 @@ public class GiveCommand extends IoMCommand {
final ImageMap map = MapManager.getMap(uuid, mapName);
if (map == null) {
if (playerSender != null) {
info(playerSender, I.t("This map does not exist."));
}
warning(sender, I.t("This map does not exist."));
return;
}
try {