mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-07-16 06:50:26 +02:00
don't let explosions destroy sign entities
This commit is contained in:
@ -61,9 +61,11 @@ minetest.register_lbm({ name = "signs:conpatibility_1",
|
||||
-- We need to have this entity registered to be able to remove it.
|
||||
if minetest.registered_entities["signs:text"] == nil then
|
||||
minetest.register_entity("signs:text", {
|
||||
collisionbox = { 0, 0, 0, 0, 0, 0 },
|
||||
visual = "upright_sprite",
|
||||
textures = {},
|
||||
on_activate = function(self)
|
||||
if self.object then
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
})
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user