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