Skip to content

Commit

Permalink
add back tab-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtomi committed Dec 8, 2024
1 parent 457ae5e commit b4f8df6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified libs/grapefruit-3.0.0-ALPHA.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.event.EventHandler;
import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import org.jetbrains.annotations.NotNull;
Expand Down Expand Up @@ -79,13 +80,13 @@ public CommandManager(

public void register() {
LOGGER.info("Registering commands...");
// this.plugin.getServer().getPluginManager().registerEvents(this, this.plugin);
this.plugin.getServer().getPluginManager().registerEvents(this, this.plugin);
// Register command handlers
this.dispatcher.register(this.commands);
}

public void shutdown() {
// HandlerList.unregisterAll(this);
HandlerList.unregisterAll(this);
this.trackedAliases.clear();
this.dispatcher.unregister(this.commands);
LOGGER.info("Shutting down async executor");
Expand Down

0 comments on commit b4f8df6

Please sign in to comment.