From fe4248eb8be37568244588468c27cf09e33ba352 Mon Sep 17 00:00:00 2001 From: Mute Date: Sun, 18 Aug 2024 18:32:09 +0000 Subject: [PATCH] hotfix: R107 makes the check redundant (it was never a great idea tbh) --- mbchc.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbchc.mjs b/mbchc.mjs index 8bb388e..90a025d 100644 --- a/mbchc.mjs +++ b/mbchc.mjs @@ -790,7 +790,7 @@ w.MBCHC = { }) // 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. - 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') { this.remove_load_hook = this.before('AsylumGGTSSAddItems', () => this.loader()) } else this.loader()