mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-18 14:29:32 +01:00
Fix crash when destroying banner
This commit is contained in:
parent
7ddc32b698
commit
91bffc2a00
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ minetest.register_entity("mcl_banners:standing_banner", {
|
||||||
minetest.add_item(pos, "mcl_banners:banner_item_"..colors[self._base_color][1])
|
minetest.add_item(pos, "mcl_banners:banner_item_"..colors[self._base_color][1])
|
||||||
|
|
||||||
-- Destroy entity
|
-- Destroy entity
|
||||||
self:remove()
|
self.object:remove()
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue