mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-22 08:11:59 +01:00
Reverse disable order; Addresses BUKKIT-1389
By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
parent
f48a58f8c4
commit
a8a9d75bcd
@ -388,8 +388,9 @@ public final class SimplePluginManager implements PluginManager {
|
||||
}
|
||||
|
||||
public void disablePlugins() {
|
||||
for (Plugin plugin : getPlugins()) {
|
||||
disablePlugin(plugin);
|
||||
Plugin[] plugins = getPlugins();
|
||||
for (int i = plugins.length - 1; i >= 0; i--) {
|
||||
disablePlugin(plugins[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user