This commit is contained in:
Alexsandro Percy 2022-04-07 20:17:08 -03:00
parent 5431d0b4a4
commit c616a97454
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ function airutils.set_player_skin(player, skin)
else
local old_texture = player:get_attribute(backup)
if set_skin then
if player:get_attribute("set_skin:player_skin") ~= nil then
if player:get_attribute("set_skin:player_skin") ~= nil and player:get_attribute("set_skin:player_skin") ~= "" then
old_texture = player:get_attribute("set_skin:player_skin")
end
elseif skins then