ShowHiddenThings: fix crash when viewing Mod View
This commit is contained in:
parent
164fd43cc4
commit
98efe13b97
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ export default definePlugin({
|
|||
predicate: () => settings.store.showModView,
|
||||
replacement: {
|
||||
match: /(?<=\.highestRole\),)role:\i(?<=\[\i\.roles,\i\.highestRoleId,(\i)\].+)/,
|
||||
replace: "role:$self.getHighestRole(arguments[0],$2)",
|
||||
replace: "role:$self.getHighestRole(arguments[0],$1)",
|
||||
}
|
||||
},
|
||||
// allows you to open mod view on yourself
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue