Update src/main/java/fr/moribus/imageonmap/commands/maptool/GetCommand.java

Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
Vlammar 2021-02-05 16:52:20 +01:00 committed by GitHub
parent 3b4af2146b
commit 413353deea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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