Fix BetterRoleDot crash
This commit is contained in:
parent
a772aa62f5
commit
c525672777
|
@ -41,7 +41,7 @@ export default definePlugin({
|
||||||
all: true,
|
all: true,
|
||||||
predicate: () => Settings.plugins.BetterRoleDot.bothStyles,
|
predicate: () => Settings.plugins.BetterRoleDot.bothStyles,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /"(?:username|dot)"===\w\b/g,
|
match: /"(?:username|dot)"===\w(?!\.\w)/g,
|
||||||
replace: "true",
|
replace: "true",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue