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
e70246f1cb
commit
c7503a94bf
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ local set_player_textures =
|
|||
or default.player_set_textures
|
||||
|
||||
function airutils.set_player_skin(player, skin)
|
||||
if not player then return end
|
||||
local player_properties = player:get_properties()
|
||||
local texture = player_properties.textures
|
||||
local name = player:get_player_name()
|
||||
|
|
Loading…
Add table
Reference in a new issue