Parcourir la source

fix entity jumps were not send to opservers

Kolja Strohm il y a 1 mois
Parent
commit
1c1747ac4b
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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)