FakeNitro: fix custom client themes bypass (#4563)

This commit is contained in:
sadan 2026-08-27 18:43:44 -04:00 • committed by GitHub
parent be77396be8
commit a1b1f0b122
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -320,7 +320,7 @@ export default definePlugin({
},
// Allow users to use custom client themes
{
find: '("custom_themes_editor_footer")',
find: ".CLIENT_THEMES_EDITOR?",
replacement: {
match: /(?<=\i=)\(0,\i\.\i\)\(\i\.\i\.TIER_2\)(?=,|;)/g,
replace: "true"