Project-Sloth / ps-hud

Ultra customizable hud featuring a unique and robust settings menu. Change eveything about your experience!
https://discord.gg/projectsloth
GNU General Public License v3.0
137 stars 177 forks source link

attempt to index a nil value (field 'metadata') on logout #60

Closed troubleNZ closed 2 years ago

troubleNZ commented 2 years ago

i get the following error occuring when logging out a character:

SCRIPT ERROR: @ps-hud/client.lua:893: attempt to index a nil value (field 'metadata') @ps-hud/client.lua:893

line 893: playerDead = IsEntityDead(player) or PlayerData.metadata["inlaststand"] or PlayerData.metadata["isdead"] or false

troubleNZ commented 2 years ago

closed. found #39