From a163c41205275711c4558b90fe1176457934cd83 Mon Sep 17 00:00:00 2001 From: X3ZvaWQ Date: Fri, 16 Feb 2024 02:15:46 +0800 Subject: [PATCH] fix: lint --- src/thread.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.ts b/src/thread.ts index 2a516ba..1f404fa 100755 --- a/src/thread.ts +++ b/src/thread.ts @@ -407,7 +407,7 @@ export default class LuaThread { }, 'vii'); } - this.luaApi.lua_sethook(this.address, this.hookFunctionPointer as number, LuaEventMasks.Count, INSTRUCTION_HOOK_COUNT); + this.luaApi.lua_sethook(this.address, this.hookFunctionPointer, LuaEventMasks.Count, INSTRUCTION_HOOK_COUNT); this.timeout = timeout; } else if (this.hookFunctionPointer) { this.hookFunctionPointer = undefined;