forked from mtcontrib/3d_armor
Fix disappearing armor stand entities, again...
This commit is contained in:
parent
5c5359de4f
commit
ddd7f3786c
@ -230,7 +230,7 @@ minetest.register_entity("3d_armor_stand:armor_entity", {
|
|||||||
self.timer = 0
|
self.timer = 0
|
||||||
local pos = self.object:getpos()
|
local pos = self.object:getpos()
|
||||||
if pos then
|
if pos then
|
||||||
if vector.equals(self.pos, pos) then
|
if vector.equals(vector.round(pos), self.pos) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user