Fix crash when destroying banner

This commit is contained in:
Wuzzy 2017-07-27 22:14:27 +02:00
parent 7ddc32b698
commit 91bffc2a00
1 changed files with 1 additions and 1 deletions

View File

@ -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,
})