From 8641d2ebaba29f2bfb90d7590737d8567600d482 Mon Sep 17 00:00:00 2001 From: EarthSalamander Date: Fri, 20 Oct 2023 12:25:47 +0200 Subject: [PATCH] Update init.lua --- game/scripts/vscripts/components/api/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/scripts/vscripts/components/api/init.lua b/game/scripts/vscripts/components/api/init.lua index bcfeb33..3b7ca29 100644 --- a/game/scripts/vscripts/components/api/init.lua +++ b/game/scripts/vscripts/components/api/init.lua @@ -195,7 +195,7 @@ function api:GetPlayerCosmetics(player_id, cosmetic_type) local cosmetics = api[cosmetic_type] - if cosmetics and type(cosmetics == "table" and next(cosmetics)) then + if cosmetics and type(cosmetics) == "table" and next(cosmetics) then else print("api:GetPlayerCosmetics: cosmetics table value is empty for cosmetic_type:", cosmetic_type) return false