Skip to content

Commit

Permalink
feat(command/logs): Temporarily removed logger status display. Will d…
Browse files Browse the repository at this point in the history
…o this ASAP, for v0.0.4.
  • Loading branch information
Shuvlyy committed Apr 9, 2024
1 parent f789e15 commit b6bb52f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/fr/hashtek/tekore/bukkit/command/logs/CommandLogs.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,11 @@ private void displayLogs(CommandSender sender, List<HashLog> logs)

/**
* Displays the logger status to the sender.
* TODO: To finish.
*
* @param sender Player who executed the command
*/
private void displayLoggerStatus(CommandSender sender)
/*private void displayLoggerStatus(CommandSender sender)
{
String[] output = {
"HashLogger status",
Expand All @@ -176,7 +177,7 @@ private void displayLoggerStatus(CommandSender sender)
};
sender.sendMessage(output);
}
}*/

/**
* Called when command is executed.
Expand All @@ -194,10 +195,13 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
return true;
}

if (args.length == 1 && args[0].equalsIgnoreCase("status")) {
/*
* TODO: To finish.
*/
/*if (args.length == 1 && args[0].equalsIgnoreCase("status")) {
this.displayLoggerStatus(sender);
return true;
}
}*/

if (!parseInput(sender, args))
return true;
Expand Down

0 comments on commit b6bb52f

Please sign in to comment.