mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2025-02-11 00:51:22 +01:00
Apply suggestions from code review
Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
parent
29b7c99595
commit
61a2f4eb2f
@ -67,15 +67,6 @@ public class GiveCommand extends IoMCommand
|
||||
}
|
||||
if (args.length == 3) {
|
||||
player = getPlayerParameter(2);
|
||||
if(player==null){
|
||||
try{
|
||||
playerSender().sendMessage(I.t("Player map store not found"));
|
||||
}
|
||||
catch (Exception e){
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
map = MapManager.getMap(player.getUniqueId(), args[1]);
|
||||
if (map == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user