fix crash
This commit is contained in:
parent
6b7a8d15ef
commit
7b11940f49
|
@ -308,7 +308,7 @@ minetest.register_entity("3d_armor_stand:armor_entity", {
|
||||||
collisionbox = {0,0,0,0,0,0},
|
collisionbox = {0,0,0,0,0,0},
|
||||||
textures = {"3d_armor_trans.png"},
|
textures = {"3d_armor_trans.png"},
|
||||||
},
|
},
|
||||||
_pos = nil
|
_pos = nil,
|
||||||
on_activate = function(self)
|
on_activate = function(self)
|
||||||
local pos = self.object:get_pos()
|
local pos = self.object:get_pos()
|
||||||
if pos then
|
if pos then
|
||||||
|
|
Loading…
Reference in New Issue