Update TopRoleEverywhere.plugin.js

fix
This commit is contained in:
Ekibunnel 2024-04-08 14:29:05 +02:00 committed by GitHub
parent 13a82fa675
commit 3d3fe9a969
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ module.exports = (_ => {
injectIdTag (children, user, type, config = {}) {
if (!BDFDB.ArrayUtils.is(children) || !user) return;
children.push(insertIndex, 0, this.createTag({
children.push(this.createTag({
name: user.id
}, type, config));
}