Log all commands done

This commit is contained in:
Aubri Seebauer committed 2023-04-28 22:45:41 -04:00
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;