Fix disappearing armor stand entities, again...

This commit is contained in:
stujones11 2016-05-01 16:11:27 +01:00
parent 5c5359de4f
commit ddd7f3786c

View File

@ -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