fix tex under another

This commit is contained in:
Alexsandro Percy 2022-04-07 20:06:47 -03:00
parent 7d8b8227f3
commit 5431d0b4a4
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ function airutils.set_player_skin(player, skin)
if player:get_attribute(backup) == nil or player:get_attribute(backup) == "" then
player:set_attribute(backup, texture) --texture backup
--minetest.chat_send_all(dump(player:get_attribute(backup)))
else
texture = player:get_attribute(backup)
end
texture = texture.."^"..skin
if texture ~= nil and texture ~= "" then