Fix ShowAllRoles

This commit is contained in:
Nuckyz 2024-07-04 17:04:16 -03:00
parent 256a85c95c
commit bec4c76d9a
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -15,8 +15,8 @@ export default definePlugin({
{
find: ".Messages.VIEW_ALL_ROLES",
replacement: {
match: /return null!=\i(?=\?\i\.slice)/,
replace: "return false"
match: /(\i)\.slice\(0,\i\)/,
replace: "$1"
}
}
]