fix when player gets out server before full load
This commit is contained in:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user