Use initial_properties table for text entity (#85)

This commit is contained in:
Niklp 2024-07-07 18:51:15 +02:00 committed by GitHub
parent 9dc03641f4
commit 982cfa1fda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -336,9 +336,11 @@ minetest.register_lbm({
})
minetest.register_entity(":digilines_lcd:text", {
collisionbox = { 0, 0, 0, 0, 0, 0 },
visual = "upright_sprite",
textures = {},
initial_properties = {
collisionbox = { 0, 0, 0, 0, 0, 0 },
visual = "upright_sprite",
textures = {},
},
on_activate = set_texture,
})