diff options
author | Alexander Harkness <me@bearbin.net> | 2020-05-04 10:13:55 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2020-05-04 10:13:55 +0200 |
commit | 8240894d0751b4b75331fc3314d2774dc37752b6 (patch) | |
tree | d9314351bb8a6d9021752b94b1c29c23668407f7 /src | |
parent | Improve entity position updates (#4701) (diff) | |
download | cuberite-8240894d0751b4b75331fc3314d2774dc37752b6.tar cuberite-8240894d0751b4b75331fc3314d2774dc37752b6.tar.gz cuberite-8240894d0751b4b75331fc3314d2774dc37752b6.tar.bz2 cuberite-8240894d0751b4b75331fc3314d2774dc37752b6.tar.lz cuberite-8240894d0751b4b75331fc3314d2774dc37752b6.tar.xz cuberite-8240894d0751b4b75331fc3314d2774dc37752b6.tar.zst cuberite-8240894d0751b4b75331fc3314d2774dc37752b6.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Entities/Boat.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Boat.cpp b/src/Entities/Boat.cpp index 317a5e1d5..1f7963465 100644 --- a/src/Entities/Boat.cpp +++ b/src/Entities/Boat.cpp @@ -42,6 +42,9 @@ void cBoat::SpawnOn(cClientHandle & a_ClientHandle) void cBoat::BroadcastMovementUpdate(const cClientHandle * a_Exclude) { + // Cannot use super::BroadcastMovementUpdate here, broadcasting position when not + // expected by the client breaks things. See https://github.com/cuberite/cuberite/pull/4488 + // Process packet sending every two ticks if (GetWorld()->GetWorldAge() % 2 != 0) { |