Update EditUsers.plugin.js

This commit is contained in:
Mirco Wittrien 2018-12-26 09:05:34 +01:00
parent ebc8ef5f4c
commit 591efd060d
1 changed files with 0 additions and 1 deletions

View File

@ -706,7 +706,6 @@ class EditUsers {
changeMention (info, mention) {
if (!info || !mention || !mention.parentElement) return;
if (mention.EditUsersChangeObserver && typeof mention.EditUsersChangeObserver.disconnect == "function") mention.EditUsersChangeObserver.disconnect();
console.log(info, mention);
let data = BDFDB.loadData(info.id, this, "users") || {};
let member = this.MemberUtils.getMember(this.LastGuildStore.getGuildId(), info.id) || {};
let color1 = BDFDB.colorCONVERT(data.color1 || (BDFDB.isPluginEnabled("BetterRoleColors") ? member.colorString : null), "RGBCOMP");