1
0
mirror of https://github.com/Sokomine/cottages.git synced 2025-04-21 03:20:24 +02:00

avoid possible crash

This commit is contained in:
flux 2022-11-09 07:38:44 -08:00
parent 2f01468fc0
commit 7efbc94134
No known key found for this signature in database
GPG Key ID: 9333B27816848A15

View File

@ -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