Add `initial_properties` to armor stand entity
This commit is contained in:
parent
aef125a0ca
commit
b10612355f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue