At random times, my server glitches and doesn’t start the round, I have tried to force everyone to spectate, and than unspectate them, but nothing seems to work. I am forced to change the map and or restart.
When I look at the server console when this is happening, I see the following:
Lua Error: [ERROR] addons/pointshop-master/lua/sv_player_extension.lua:279: attempt to index field 'PS_Items' (a nil value) 1. PS_HasItem - addons/pointshop-master/lua/sv_player_extension.lua:279 2. PS_HasItemEquipped - addons/pointshop-master/lua/sv_player_extension.lua:283 3. fn - addons/pointshop-master/lua/sh_pointshop.lua:134 4. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
If we take a look at sv_player_Extension.lua on line 279:
function Player:PS_HasItem(item_id) return self.PS_Items[item_id] or false end
The middle line is 279.
I would appreciate any help!