fix for some canary
This commit is contained in:
parent
a9578b1d9e
commit
b8ced0020d
|
@ -463,6 +463,7 @@ Core.prototype.inject24Hour = function() {
|
|||
|
||||
Core.prototype.injectColoredText = function() {
|
||||
if (this.cancelColoredText) return;
|
||||
if (!BDV2.MessageContentComponent || !BDV2.MessageContentComponent.prototype) return;
|
||||
|
||||
this.cancelColoredText = Utils.monkeyPatch(BDV2.MessageContentComponent.prototype, "render", {after: (data) => {
|
||||
if (!settingsCookie["bda-gs-7"]) return;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue