optimize profilesets

This commit is contained in:
thororen1234 2026-04-24 13:11:40 -04:00
parent 62dae62807
commit b5d0d81363
No known key found for this signature in database

View file

@ -36,7 +36,7 @@ export default definePlugin({
{
find: "DefaultCustomizationSections: user cannot be undefined",
replacement: {
match: /return.{0,50}children:\[(?<=\.getLegacyUsername\(\).*?)/,
match: /return.{0,50}children:\[(?=.{0,50},\{placeholder:)/,
replace: "$&$self.renderPresetSection(\"main\"),"
}
},