浏览代码

fix entity jumps were not send to opservers

Kolja Strohm 1 月之前
父节点
当前提交
1c1747ac4b
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      FactoryCraft/Entity.cpp

+ 4 - 0
FactoryCraft/Entity.cpp

@@ -1154,6 +1154,10 @@ void Entity::tick(const Dimension* zDimension, double seconds)
                 }
                 location.z -= moveDir.z;
             }
+            else
+            {
+                changed = 1;
+            }
         }
     }
     if (movementFlags & MovementFlags::GROUND_CONTACT)