Skip to content

Commit

Permalink
avoid unregistering namespace because we do it more delicately
Browse files Browse the repository at this point in the history
  • Loading branch information
Revxrsal committed Sep 21, 2024
1 parent 4fb6ff2 commit 3746ee2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ public static void unregister(@NotNull PluginCommand command, @NotNull JavaPlugi
Command rawAlias = knownCommands.get(command.getName());
if (rawAlias instanceof PluginCommand && ((PluginCommand) rawAlias).getPlugin() == owningPlugin)
knownCommands.remove(command.getName());
knownCommands.remove(owningPlugin.getDescription().getName() + ":" + command.getName());
}
}

Expand Down

0 comments on commit 3746ee2

Please sign in to comment.