mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
Fix ModuleManager onShuttingDown not using its own method to disable
This commit is contained in:
parent
3f030dfada
commit
bf60a978eb
@ -145,7 +145,7 @@ public class ModuleManager {
|
||||
public void onShuttingDown(DiscordSRVShuttingDownEvent event) {
|
||||
modules.stream()
|
||||
.sorted((m1, m2) -> Integer.compare(m2.shutdownOrder(), m1.shutdownOrder()))
|
||||
.forEachOrdered(Module::disable);
|
||||
.forEachOrdered(this::disable);
|
||||
}
|
||||
|
||||
public void reload() {
|
||||
|
Loading…
Reference in New Issue
Block a user