From f9dcb665e15863e8b1b9cc5203023463783a3974 Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Thu, 6 Jan 2022 16:35:31 -0500 Subject: [PATCH] HOLY SHIT IT WORKS AGAIN --- patcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patcher.js b/patcher.js index 484d2d3..52a4e95 100644 --- a/patcher.js +++ b/patcher.js @@ -14,7 +14,7 @@ function monkeyPatch(name, parentObj, patches) { const prox = new Proxy(parentObj[name], handler); const orig = parentObj[name]; parentObj[name] = function() { - return prox(this, [arguments]); + return prox(this, arguments); }; const unpatch = () => { parentObj[name] = orig;