mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
fix tex under another
This commit is contained in:
parent
7d8b8227f3
commit
5431d0b4a4
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue