mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
fix when player gets out server before full load
This commit is contained in:
parent
c7503a94bf
commit
f5d727a38f
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue