소스 검색

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)