Fix anvil may destroy items when taking output
This commit is contained in:
parent
256dd1e26a
commit
d594b7b62f
|
@ -282,7 +282,6 @@ local anvildef = {
|
|||
inv:set_list("input", {"", ""})
|
||||
end
|
||||
end
|
||||
update_anvil_slots(meta)
|
||||
if listname == "output" then
|
||||
local destroyed = damage_anvil(pos, player)
|
||||
-- Close formspec if anvil was destroyed
|
||||
|
|
Loading…
Reference in New Issue