mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 14:23:45 +01:00
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