mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-09-28 06:27:38 +02: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
0d008126a3
commit
eae2e48a35
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user