Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

Commit 278d6c1

Browse files
committed
Edited command permission
1 parent caf16d6 commit 278d6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/jonakls/miniannouncer/commands/MainCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public MainCommand(MiniAnnouncer plugin) {
1919
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command,
2020
@NotNull String label, @NotNull String[] args) {
2121

22-
if (!sender.hasPermission("fenixannouncer.commands")) {
22+
if (!sender.hasPermission("miniannouncer.commands")) {
2323
sender.sendMessage(ChatUtil.toLegacyColors("&cNo permissionsp'"));
2424
return true;
2525
}

0 commit comments

Comments
 (0)