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
|
@Override
|
||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
super.onDisable();
|
super.onDisable();
|
||||||
restoreBukkitPluginCommand();
|
|
||||||
commandManager.unregisterCommands();
|
commandManager.unregisterCommands();
|
||||||
|
restoreBukkitPluginCommand();
|
||||||
plugin.disable();
|
plugin.disable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue