Update EditUsers.plugin.js

This commit is contained in:
Mirco Wittrien 2023-06-21 11:34:51 +02:00 committed by GitHub
parent 486e8d4896
commit fb2ce4e465
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @name EditUsers
* @author DevilBro
* @authorId 278543574059057154
* @version 4.8.1
* @version 4.8.2
* @description Allows you to locally edit Users
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -975,7 +975,7 @@ module.exports = (_ => {
}
processMemberListItem (e) {
if (!this.settings.places.memberList || !e.instance.props.user) return;
if (!this.settings.places.memberList || !e.instance.props.user || !this.shouldChangeInChat(e.instance.props.channel.id)) return;
if (!e.returnvalue) {
e.instance.props.user = this.getUserData(e.instance.props.user.id);
let data = changedUsers[e.instance.props.user.id];
@ -2529,4 +2529,4 @@ module.exports = (_ => {
}
};
})(window.BDFDB_Global.PluginUtils.buildPlugin(changeLog));
})();
})();