mirror of
https://github.com/Sokomine/cottages.git
synced 2025-04-21 11:30:23 +02:00
don't crash anvils
This commit is contained in:
parent
cc6ee4f56c
commit
0aeb5989d1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user