mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Fix crash when destroying banner
This commit is contained in:
parent
7ddc32b698
commit
91bffc2a00
@ -199,7 +199,7 @@ minetest.register_entity("mcl_banners:standing_banner", {
|
||||
minetest.add_item(pos, "mcl_banners:banner_item_"..colors[self._base_color][1])
|
||||
|
||||
-- Destroy entity
|
||||
self:remove()
|
||||
self.object:remove()
|
||||
end,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user