fix: Add hooks to existing hook set

Previously, the hooks were just combined to a new set and returned, without adding them to original mutable set.
This commit is contained in:
oSumAtrIX
2023-10-02 16:21:03 +02:00
parent 27a346d74b
commit f77d743a92
2 changed files with 2 additions and 2 deletions
@@ -88,7 +88,7 @@ object SpoofSignaturePatch : BytecodePatch(
)
// Hook the player parameters.
PlayerResponseMethodHookPatch + PlayerResponseMethodHookPatch.Hook.ProtoBufferParameter(
PlayerResponseMethodHookPatch += PlayerResponseMethodHookPatch.Hook.ProtoBufferParameter(
"$INTEGRATIONS_CLASS_DESCRIPTOR->spoofParameter(Ljava/lang/String;)Ljava/lang/String;"
)