fix when player gets out server before full load

This commit is contained in:
Alexsandro Percy 2023-09-30 12:03:05 -03:00
parent c7503a94bf
commit f5d727a38f

@ -27,7 +27,10 @@ local set_player_textures =
function airutils.set_player_skin(player, skin)
if not player then return end
local player_properties = player:get_properties()
if not player_properties then return end
local texture = player_properties.textures
local name = player:get_player_name()
if texture then