Fix anvil may destroy items when taking output

This commit is contained in:
Wuzzy 2018-02-03 05:50:59 +01:00
parent 256dd1e26a
commit d594b7b62f

View File

@ -282,7 +282,6 @@ local anvildef = {
inv:set_list("input", {"", ""}) inv:set_list("input", {"", ""})
end end
end end
update_anvil_slots(meta)
if listname == "output" then if listname == "output" then
local destroyed = damage_anvil(pos, player) local destroyed = damage_anvil(pos, player)
-- Close formspec if anvil was destroyed -- Close formspec if anvil was destroyed