[Hooks] Do not show unique ID address in info log

This commit is contained in:
FireSiku 2019-01-20 22:53:10 -05:00
parent 91a83e8cbc
commit 89e88b41af

View file

@ -193,7 +193,7 @@ local function create_hook(mod, orig, obj, method, handler, func_name, hook_type
else else
unique_id = obj[method] unique_id = obj[method]
end end
mod:info("(%s): Hooking '%s' from [%s] (Origin: %s) (UniqueID: %s)", func_name, method, obj, orig, unique_id) mod:info("(%s): Hooking '%s' from [%s] (Origin: %s)", func_name, method, obj, orig)
-- Check to make sure this mod hasn't hooked it before -- Check to make sure this mod hasn't hooked it before
local hook_data = _registry[mod][unique_id] local hook_data = _registry[mod][unique_id]