Add `initial_properties` to armor stand entity

This commit is contained in:
Niklp09 2023-10-22 16:41:12 +02:00
parent aef125a0ca
commit b10612355f
1 changed files with 8 additions and 8 deletions

View File

@ -300,14 +300,14 @@ minetest.register_node("3d_armor_stand:locked_armor_stand", {
})
minetest.register_entity("3d_armor_stand:armor_entity", {
physical = true,
visual = "mesh",
mesh = "3d_armor_entity.obj",
visual_size = {x=1, y=1},
collisionbox = {0,0,0,0,0,0},
textures = {"3d_armor_trans.png"},
pos = nil,
timer = 0,
initial_properties = {
physical = true,
visual = "mesh",
mesh = "3d_armor_entity.obj",
visual_size = {x=1, y=1},
collisionbox = {0,0,0,0,0,0},
textures = {"3d_armor_trans.png"},
},
on_activate = function(self)
local pos = self.object:get_pos()
if pos then