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
9de9a228a9
commit
7836aa8e95
@ -66,7 +66,7 @@ public class GiveCommand extends IoMCommand
|
||||
player = playerSender();
|
||||
}
|
||||
if (args.length == 3) {
|
||||
player = Bukkit.getPlayer(args[2]);
|
||||
player = getPlayerParameter(2);
|
||||
if(player==null){
|
||||
try{
|
||||
playerSender().sendMessage(I.t("Player map store not found"));
|
||||
|
Loading…
Reference in New Issue
Block a user