mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: Bytearray expected, got function
This commit is contained in:
parent
1350910d28
commit
2d1c69ee7e
3 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue