improved remotion

This commit is contained in:
Alexsandro Percy 2024-03-10 13:00:01 -03:00
parent 8e516909c6
commit e17e706f86
2 changed files with 4 additions and 3 deletions

View file

@ -601,7 +601,8 @@ minetest.register_entity("ap_airship:airship", {
self.object:set_properties(properties)
if data.remove then
airutils.destroy_inventory(self)
ap_airship.destroy(self)
self.object:remove()
--ap_airship.destroy(self)
return
end
end