Add compatiblity for SmallJoker's u_skins fork

This commit is contained in:
stujones11 2014-10-02 21:08:18 +01:00
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"