Skip to content

Commit

Permalink
fix: bpt_basicneeds/client/main.lua:36: attempt to index a nil value …
Browse files Browse the repository at this point in the history
…(upvalue 'status')
  • Loading branch information
bitpredator committed Jun 12, 2024
1 parent 13a5168 commit b41f2d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ end)
AddEventHandler("bpt_status:loaded", function(status)
TriggerEvent("bpt_status:registerStatus", "hunger", 1000000, "#CFAD0F", function(status)
return Config.Visible
end, function()
end, function(status)
status.remove(100)
end)

TriggerEvent("bpt_status:registerStatus", "thirst", 1000000, "#0C98F1", function()
return Config.Visible
end, function()
end, function(status)
status.remove(75)
end)
end)
Expand Down

0 comments on commit b41f2d7

Please sign in to comment.