mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2025-02-13 10:01:25 +01:00
Update src/main/java/fr/moribus/imageonmap/commands/maptool/GetCommand.java
Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
parent
3b4af2146b
commit
413353deea
@ -72,7 +72,7 @@ public class GetCommand extends IoMCommand {
|
||||
mapName = arguments.get(0);
|
||||
} else {
|
||||
if (!Permissions.GETOTHER.grantedTo(sender)) {
|
||||
info(sender, I.t("You can't use this command"));
|
||||
throwNotAuthorized();
|
||||
return;
|
||||
}
|
||||
playerName = arguments.get(0);
|
||||
|
Loading…
Reference in New Issue
Block a user