From aa7d5cab6557369b555a90cdc4074e10824a09c2 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Tue, 25 Jul 2023 12:40:13 +0200 Subject: [PATCH] Update EditRoles.plugin.js --- Plugins/EditRoles/EditRoles.plugin.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Plugins/EditRoles/EditRoles.plugin.js b/Plugins/EditRoles/EditRoles.plugin.js index cf5b55db2b..cce7def30a 100644 --- a/Plugins/EditRoles/EditRoles.plugin.js +++ b/Plugins/EditRoles/EditRoles.plugin.js @@ -107,7 +107,6 @@ module.exports = (_ => { } }}); BDFDB.PatchUtils.patch(this, BDFDB.LibraryModules.RoleIconUtils, "canGuildUseRoleIcons", {after: e => { - if (e.returnValue === false && Object.keys(e.methodArguments[0].roles).some(roleId => changedRoles[roleId] && changedRoles[roleId].icon)) console.log(2, e); if (e.returnValue === false && Object.keys(e.methodArguments[0].roles).some(roleId => changedRoles[roleId] && changedRoles[roleId].icon)) return true; }});