1
0
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:
flux
2022-10-26 10:23:06 -07:00
parent e0e0305836
commit 4d483563f6
2 changed files with 23 additions and 9 deletions

View File

@ -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