mirror of
https://github.com/Sokomine/cottages.git
synced 2025-07-03 08:30:23 +02:00
avoid possible crash
This commit is contained in:
@ -87,7 +87,7 @@ if minetest.registered_entities["anvil:item"] then
|
||||
|
||||
else
|
||||
minetest.register_entity(":anvil:item", {
|
||||
on_activate = function(self)
|
||||
on_step = function(self)
|
||||
if self.object then
|
||||
self.object:remove()
|
||||
end
|
||||
|
Reference in New Issue
Block a user