mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
Reverse disable order; Addresses BUKKIT-1389
By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
parent
f48a58f8c4
commit
a8a9d75bcd
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue