Move CustomRPC fix
This commit is contained in:
parent
76002fb2eb
commit
aa64267ddb
2 changed files with 9 additions and 11 deletions
|
@ -46,6 +46,15 @@ export default definePlugin({
|
||||||
match: /!\(null==(\i)\|\|0===\i\|\|null==(\i)\|\|0===\i\)/,
|
match: /!\(null==(\i)\|\|0===\i\|\|null==(\i)\|\|0===\i\)/,
|
||||||
replace: (_, width, height) => `!((null==${width}||0===${width})&&(null==${height}||0===${height}))`
|
replace: (_, width, height) => `!((null==${width}||0===${width})&&(null==${height}||0===${height}))`
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// Make buttons show up for your own activities
|
||||||
|
{
|
||||||
|
find: ".party?(0",
|
||||||
|
all: true,
|
||||||
|
replacement: {
|
||||||
|
match: /\i\.id===\i\.id\?null:/,
|
||||||
|
replace: ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
@ -399,17 +399,6 @@ export default definePlugin({
|
||||||
stop: () => setRpc(true),
|
stop: () => setRpc(true),
|
||||||
settings,
|
settings,
|
||||||
|
|
||||||
patches: [
|
|
||||||
{
|
|
||||||
find: ".party?(0",
|
|
||||||
all: true,
|
|
||||||
replacement: {
|
|
||||||
match: /\i\.id===\i\.id\?null:/,
|
|
||||||
replace: ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
|
|
||||||
settingsAboutComponent: () => {
|
settingsAboutComponent: () => {
|
||||||
const activity = useAwaiter(createActivity);
|
const activity = useAwaiter(createActivity);
|
||||||
const gameActivityEnabled = ShowCurrentGame.useSetting();
|
const gameActivityEnabled = ShowCurrentGame.useSetting();
|
||||||
|
|
Loading…
Add table
Reference in a new issue