forked from mtcontrib/3d_armor
Add compatiblity for SmallJoker's u_skins fork
This commit is contained in:
parent
258b1cbf48
commit
046880a534
@ -295,7 +295,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
for field, _ in pairs(fields) do
|
for field, _ in pairs(fields) do
|
||||||
if string.find(field, "skins_set_") then
|
if string.find(field, "skins_set") then
|
||||||
minetest.after(0, function(player)
|
minetest.after(0, function(player)
|
||||||
local skin = armor:get_player_skin(name)
|
local skin = armor:get_player_skin(name)
|
||||||
armor.textures[name].skin = skin..".png"
|
armor.textures[name].skin = skin..".png"
|
||||||
|
Loading…
Reference in New Issue
Block a user