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 2020-08-17 23:53:47 +02:00 committed by GitHub
parent 40479e2a37
commit dc58e366bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"));