13
0
geforkt von Mirrors/Paper

Reverse disable order; Addresses BUKKIT-1389

By: Wesley Wolfe <weswolf@aol.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2012-05-25 15:56:33 -05:00
Ursprung f48a58f8c4
Commit a8a9d75bcd

Datei anzeigen

@ -388,8 +388,9 @@ public final class SimplePluginManager implements PluginManager {
} }
public void disablePlugins() { public void disablePlugins() {
for (Plugin plugin : getPlugins()) { Plugin[] plugins = getPlugins();
disablePlugin(plugin); for (int i = plugins.length - 1; i >= 0; i--) {
disablePlugin(plugins[i]);
} }
} }