aqubjukr
Well-Known Member
I'm trying to implement a skill stages system on my server. It even works, however, when I use any spell with a player, the following error appears on my console:
Players.lua attached.
Lua:
Lua Script Error: [Event Interface]
data/events/scripts/player.lua:Player@onGainSkillTries
data/events/scripts/player.lua:896: bad argument #1 to 'next' (table expected, got nil)
stack traceback:
[C]: at 0x005be450
[C]: in function 'next'
data/events/scripts/player.lua:896: in function <data/events/scripts/player.lua:891>
Players.lua attached.
Attachments
-
player.lua28.7 KB · Views: 16 · VirusTotal