Remove accidental inventory_plus dep. in 3d_armor

This commit is contained in:
Wuzzy 2017-03-09 18:42:18 +01:00
parent 1a427824a9
commit e011b9024d

View file

@ -288,8 +288,6 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
return return
end end
if fields.armor then if fields.armor then
local formspec = armor:get_armor_formspec(name)
inventory_plus.set_inventory_formspec(player, formspec)
return return
end end
for field, _ in pairs(fields) do for field, _ in pairs(fields) do