hotfix: R107 makes the check redundant (it was never a great idea tbh)
This commit is contained in:
parent
d87bfde6f9
commit
fe4248eb8b
|
@ -790,7 +790,7 @@ w.MBCHC = {
|
||||||
})
|
})
|
||||||
// for some reason many (not all) hooks don't work if the mod is loaded in the room
|
// for some reason many (not all) hooks don't work if the mod is loaded in the room
|
||||||
// to be honest I have no idea what's going on. the hooks get registered, they just don't get called by SDK.
|
// to be honest I have no idea what's going on. the hooks get registered, they just don't get called by SDK.
|
||||||
if (current() === 'Online/ChatRoom') throw new Error('please do not load in a chat room')
|
// if (current() === 'Online/ChatRoom') throw new Error('please do not load in a chat room')
|
||||||
if (current() === 'Character/Login') {
|
if (current() === 'Character/Login') {
|
||||||
this.remove_load_hook = this.before('AsylumGGTSSAddItems', () => this.loader())
|
this.remove_load_hook = this.before('AsylumGGTSSAddItems', () => this.loader())
|
||||||
} else this.loader()
|
} else this.loader()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user