QuestFocused: Combine Patches

This commit is contained in:
thororen1234 2025-12-21 14:52:10 -05:00
parent 64e50abd0c
commit 45f028eb95
No known key found for this signature in database

View file

@ -21,17 +21,16 @@ export default definePlugin({
// Block pausing
{
find: "[QV] | updatePlayerState | playerState",
replacement: {
match: /(?<=case \i\.\i\.PAUSED:.{0,25})\i\.current\.pause\(\),/,
replace: ""
}
},
{
find: "[QV] | updatePlayerState | playerState:",
replacement: {
match: /(?<=case \i\.\i\.PLAYING:)\i\.current\.paused/,
replace: "false"
}
},
replacement: [
{
match: /(?<=case \i\.\i\.PLAYING:)\i\.current\.paused/,
replace: "false"
},
{
match: /(?<=case \i\.\i\.PAUSED:.{0,25})\i\.current\.pause\(\),/,
replace: ""
}
]
}
],
});