Skip to content

Commit

Permalink
fix: attempt to index a nil value (upvalue 'status')
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Aug 6, 2024
1 parent 6bea959 commit 9d9aec5
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 9d9aec5

Please sign in to comment.