Update src/main/java/fr/moribus/imageonmap/commands/maptool/ExploreCommand.java
Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
parent
ded8368882
commit
26e5b5c538
|
@ -66,7 +66,7 @@ public class ExploreCommand extends IoMCommand {
|
|||
final Player sender = playerSender();
|
||||
if (arguments.size() == 1) {
|
||||
if (!Permissions.LISTOTHER.grantedTo(sender)) {
|
||||
info(sender, I.t("You can't use this command"));
|
||||
throwNotAuthorized();
|
||||
return;
|
||||
}
|
||||
playerName = arguments.get(0);
|
||||
|
|
Loading…
Reference in New Issue