Skip to content

Commit

Permalink
fix(tagsloader): Safety check nil
Browse files Browse the repository at this point in the history
  • Loading branch information
m3ntorsky committed Dec 21, 2024
1 parent 3c350e8 commit 73424c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tags/modules/tagsloader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function SetPlayerTag(player, tag)
end

function SetupTag(playerid)
if #Tags == 0 then return end
if not Tags or #Tags == 0 then return end
local player = GetPlayer(playerid)
if not player then return end

Expand Down

0 comments on commit 73424c2

Please sign in to comment.