1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-11-16 07:20:37 +01:00

fix crash

This commit is contained in:
Niklp09 2023-10-22 19:00:58 +02:00
parent 6b7a8d15ef
commit 7b11940f49

View File

@ -308,7 +308,7 @@ minetest.register_entity("3d_armor_stand:armor_entity", {
collisionbox = {0,0,0,0,0,0},
textures = {"3d_armor_trans.png"},
},
_pos = nil
_pos = nil,
on_activate = function(self)
local pos = self.object:get_pos()
if pos then