This commit is contained in:
velzie 2024-08-02 22:23:53 -04:00
parent 14aa652572
commit 6cccf1f412
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F

View file

@ -98,10 +98,10 @@ export default function (client: ScramjetClient, self: Self) {
); );
if (i === -1) return; if (i === -1) return;
arr.splice(i, 1); const r = arr.splice(i, 1);
client.eventcallbacks.set(ctx.this, arr); client.eventcallbacks.set(ctx.this, arr);
ctx.args[1] = arr[i].proxiedCallback; ctx.args[1] = r[0].proxiedCallback;
}, },
}); });