Restore bukkit pl-command after unregistering commands
This commit is contained in:
parent
3b93518224
commit
62ec9c99ef
1 changed files with 1 additions and 1 deletions
|
|
@ -74,8 +74,8 @@ public class ServerUtils extends JavaPlugin implements CommandExecutor {
|
|||
@Override
|
||||
public void onDisable() {
|
||||
super.onDisable();
|
||||
restoreBukkitPluginCommand();
|
||||
commandManager.unregisterCommands();
|
||||
restoreBukkitPluginCommand();
|
||||
plugin.disable();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue