1
0
mirror of https://github.com/Sokomine/cottages.git synced 2025-07-03 08:30:23 +02:00

don't crash anvils

This commit is contained in:
flux
2022-10-18 08:32:33 -07:00
parent cc6ee4f56c
commit 0aeb5989d1

View File

@ -66,7 +66,7 @@ end
if minetest.registered_entities["anvil:item"] then
-- luacheck: globals minetest
minetest.registered_entities["anvil:item"].on_activate = function(self)
minetest.registered_entities["anvil:item"].on_step = function(self)
if self.object then
self.object:remove()
end