Merge branch 'immediate-finds' into immediate-finds-modules-proxy

This commit is contained in:
Nuckyz 2024-07-05 04:06:01 -03:00
commit 65013f0149
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", find: ".Messages.VIEW_ALL_ROLES",
replacement: { replacement: {
match: /return null!=\i(?=\?\i\.slice)/, match: /(\i)\.slice\(0,\i\)/,
replace: "return false" replace: "$1"
} }
} }
] ]