fix: Bytearray expected, got function
This commit is contained in:
@@ -39,7 +39,7 @@ function events.emit(event, ...)
|
||||
local status, newres = xpcall(func, __vc__error, ...)
|
||||
if not status then
|
||||
debug.error("error in event ("..event..") handler: "..newres)
|
||||
else
|
||||
else
|
||||
result = result or newres
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user