mirror of
https://github.com/APercy/airutils
synced 2025-08-15 17:25:48 +02:00
removing unused if
This commit is contained in:
parent
6b5e263a4c
commit
365ff81f0d
@ -55,10 +55,6 @@ function airutils.set_player_skin(player, skin)
|
|||||||
if player:get_attribute("set_skin:player_skin") ~= nil and player:get_attribute("set_skin:player_skin") ~= "" 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")
|
old_texture = player:get_attribute("set_skin:player_skin")
|
||||||
end
|
end
|
||||||
elseif u_skins then
|
|
||||||
if u_skins.u_skins[name] ~= nil then
|
|
||||||
old_texture = u_skins.u_skins[name]
|
|
||||||
end
|
|
||||||
elseif wardrobe then
|
elseif wardrobe then
|
||||||
if wardrobe.playerSkins then
|
if wardrobe.playerSkins then
|
||||||
if wardrobe.playerSkins[name] ~= nil then
|
if wardrobe.playerSkins[name] ~= nil then
|
||||||
|
Loading…
Reference in New Issue
Block a user