Skip to content

Commit

Permalink
fix(hooks): Invalid variable
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzis committed Jul 25, 2024
1 parent 2a1373d commit 98fa869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin_files/bin/scripting/hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function RemoveHookListener(hookListener)
return
end

if not eventData.key or not eventData.name then
if not hookListener.key or not hookListener.name then
print("Error: Invalid hook data passed to RemoveHookListener.")
return
end
Expand Down

0 comments on commit 98fa869

Please sign in to comment.