Skip to content

Commit

Permalink
Merge pull request #1454 from SamB440/fix/grim-log-command-alias
Browse files Browse the repository at this point in the history
Merge GrimLogShortcut to GrimLog
  • Loading branch information
AoElite authored May 7, 2024
2 parents c469cca + 778ef91 commit 037ead1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
3 changes: 2 additions & 1 deletion src/main/java/ac/grim/grimac/commands/GrimLog.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import co.aikar.commands.annotation.CommandPermission;
import co.aikar.commands.annotation.Subcommand;
import io.github.retrooper.packetevents.util.FoliaCompatUtil;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;

import java.net.HttpURLConnection;
Expand All @@ -18,8 +17,10 @@

@CommandAlias("grim|grimac")
public class GrimLog extends BaseCommand {

@Subcommand("log|logs")
@CommandPermission("grim.log")
@CommandAlias("gl")
public void onLog(CommandSender sender, int flagId) {
StringBuilder builder = SuperDebug.getFlag(flagId);

Expand Down
16 changes: 0 additions & 16 deletions src/main/java/ac/grim/grimac/commands/GrimLogShortcut.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public void start() {
commandManager.registerCommand(new GrimSpectate());
commandManager.registerCommand(new GrimStopSpectating());
commandManager.registerCommand(new GrimLog());
commandManager.registerCommand(new GrimLogShortcut());
commandManager.registerCommand(new GrimVerbose());
}
}

0 comments on commit 037ead1

Please sign in to comment.