Skip to content

Commit 98fa869

Browse files
committed
fix(hooks): Invalid variable
1 parent 2a1373d commit 98fa869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin_files/bin/scripting/hooks.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function RemoveHookListener(hookListener)
5555
return
5656
end
5757

58-
if not eventData.key or not eventData.name then
58+
if not hookListener.key or not hookListener.name then
5959
print("Error: Invalid hook data passed to RemoveHookListener.")
6060
return
6161
end

0 commit comments

Comments
 (0)