mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-10-12 14:01:58 +00:00
4.9.8
* Fixed: The setting to hide the bits leaderboard at the top of chat. * Fixed: Bug where disabling a module would leave its state as enabled. * Changed: The FFZ Control Center button in the navigation bar will now indicate when add-ons have been loaded from a local development server.
This commit is contained in:
parent
6399a3d97d
commit
5ad0e94a0f
5 changed files with 27 additions and 7 deletions
|
@ -303,13 +303,13 @@ export class Module extends EventEmitter {
|
|||
return this.onDisable(...args);
|
||||
|
||||
})().then(ret => {
|
||||
this.__state = State.ENABLED;
|
||||
this.__state = State.DISABLED;
|
||||
this.__state_promise = null;
|
||||
this.emit(':disabled', this);
|
||||
return ret;
|
||||
|
||||
}).catch(err => {
|
||||
this.__state = State.DISABLED;
|
||||
this.__state = State.ENABLED;
|
||||
this.__state_promise = null;
|
||||
throw err;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue