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
40479e2a37
commit
dc58e366bc
@ -77,10 +77,6 @@ public class GiveCommand extends IoMCommand
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (p == null) {
|
||||
player.sendMessage(I.t("Player not found"));
|
||||
return;
|
||||
}
|
||||
map = MapManager.getMap(player.getUniqueId(), args[1]);
|
||||
if (map == null) {
|
||||
player.sendMessage(I.t("Map not found"));
|
||||
|
Loading…
Reference in New Issue
Block a user