Remove duplicate onDisable call when unloading bungee plugins
This commit is contained in:
parent
26f5ab634f
commit
25813fdafd
1 changed files with 0 additions and 1 deletions
|
|
@ -172,7 +172,6 @@ public class BungeePluginManager extends AbstractPluginManager<Plugin, BungeePlu
|
|||
String pluginId = getPluginId(plugin);
|
||||
|
||||
proxy.getPluginManager().callEvent(new BungeePluginUnloadEvent(plugin, PluginEvent.Stage.PRE));
|
||||
plugin.onDisable();
|
||||
proxy.getPluginManager().unregisterCommands(plugin);
|
||||
proxy.getPluginManager().unregisterListeners(plugin);
|
||||
proxy.getScheduler().cancel(plugin);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue