Skip to content

Commit a39f44e

Browse files
authored
add override annotation to onCommand method
Signed-off-by: CyberFlame <cyberflameu@gmail.com>
1 parent f7bec31 commit a39f44e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/net/cyberflame/serverhelper/commands/ServerHelperCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class ServerHelperCommand implements CommandExecutor
1212

1313
// TODO: Create a debug "toolchain" which includes config reloading and GC, not limited to players (while
1414
// retaining the current command structure as the primary structure). Ideally a root command with subcommands.
15-
15+
@Override
1616
public boolean onCommand(CommandSender sender, @NotNull Command cmd, @NotNull String label, String[] args)
1717
{
1818
if (sender.hasPermission("serverhelper.main"))
@@ -45,4 +45,4 @@ public boolean onCommand(CommandSender sender, @NotNull Command cmd, @NotNull St
4545
}
4646
else return false;
4747
}
48-
}
48+
}

0 commit comments

Comments
 (0)