mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
Log all commands done
This commit is contained in:
1 parent
4f1e66e642
commit
d84c837c0f
5 files changed
+25
-3
No files matched your search
@@ -25,6 +25,7 @@ public class WarCommands implements CommandExecutor {
|
||||
}
|
||||
|
||||
public boolean onCommand(final CommandSender sender, final Command cmd, final String label, final String[] args) {
|
||||
CommandHelper.logCommand(sender, label, args);
|
||||
if (!(sender instanceof Player)) {
|
||||
consoleCommand(sender, args);
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user