mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-25 04:18:35 +00:00
fix(init): enable ignore_invalid for msgpack
Needed to prevent errors when packing glm polygons and such.
This commit is contained in:
1 parent
8f0a8b3c1d
commit
89b9016586
1 file changed
+3
@@ -17,6 +17,9 @@ local status = export.hasLoaded()
|
|||||||
|
|
||||||
if status ~= true then error(status, 2) end
|
if status ~= true then error(status, 2) end
|
||||||
|
|
||||||
|
-- Ignore invalid types during msgpack.pack (e.g. userdata)
|
||||||
|
msgpack.setoption('ignore_invalid', true)
|
||||||
|
|
||||||
-----------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------
|
||||||
-- Module
|
-- Module
|
||||||
-----------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in new issue
Block a user