ValentinFunk/Pointshop2

Error while Equipming stuff!

Marco15453 opened this issue · 2 comments

When i try to switch my player models on my server this error code gets throwed in the conole!

addons/libk/lua/libk/shared/sh_util.lua:252: attempt to index local 'dbginfo' (a nil value)
stack traceback:
[C]: in function '__index'
addons/libk/lua/libk/shared/sh_util.lua:252: in function 'dp'
addons/pointshop2/lua/kinv/items/pointshop/sh_base_playermodel.lua:61: in function 'OnHolster'
addons/pointshop2/lua/ps2/server/sv_pointshopcontroller_shop.lua:175: in function 'handleItemUnequip'
addons/pointshop2/lua/ps2/server/sv_pointshopcontroller_shop.lua:396: in function 's'
addons/libk/lua/libk/shared/1_sh_promises.lua:57: in function 'f'
addons/libk/lua/libk/shared/1_sh_promises.lua:184: in function 'f'
addons/libk/lua/libk/shared/1_sh_promises.lua:184: in function 'f'
addons/libk/lua/libk/shared/1_sh_promises.lua:184: in function 'Resolve'
addons/libk/lua/libk/server/sv_database_transaction.lua:40: in function <addons/libk/lua/libk/server/sv_database_transaction.lua:39>
[C]: in function 'fn'
addons/ulib/lua/ulib/shared/hook.lua:109: in function <addons/ulib/lua/ulib/shared/hook.lua:92>

I'm currently commented this function out at Line 252 in SH_util.lua in LibK but this is not a perma solution, i hope somebody can fix this better!

Closing due to be fixed, (Not really needed to comment out a Function)