Skip to content

Commit 85d0726

Browse files
committed
Update CommandToolStats.java
1 parent 010ca54 commit 85d0726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/lol/hyper/toolstats/commands/CommandToolStats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command
5858
}
5959
switch (args[0]) {
6060
case "reload": {
61-
if (sender.isOp() || sender.hasPermission("toolstats.reload")) {
61+
if (sender.hasPermission("toolstats.reload")) {
6262
toolStats.loadConfig();
6363
audiences.sender(sender).sendMessage(Component.text("Configuration reloaded!").color(NamedTextColor.GREEN));
6464
} else {

0 commit comments

Comments
 (0)