mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-01 23:33:46 +01:00
Fix anvil may destroy items when taking output
parent
256dd1e26a
commit
d594b7b62f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user