From c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 1 Aug 2020 11:25:06 +0100 Subject: Corrected wakeup sequences * Pistons/Ice no longer need to FastSetBlock first (#4600), and the former don't drop items when broken in creative - Begin migration away from stationary fluids * Tick the chunk after applying a client's changed * Broadcast pending blocks at the end of a tick --- src/Chunk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Chunk.cpp') diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 21261e828..25af8d6fb 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -651,8 +651,6 @@ void cChunk::Tick(std::chrono::milliseconds a_Dt) return; } - BroadcastPendingBlockChanges(); - CheckBlocks(); // Tick simulators: @@ -716,6 +714,8 @@ void cChunk::Tick(std::chrono::milliseconds a_Dt) } // for itr - m_Entitites[] ApplyWeatherToTop(); + + BroadcastPendingBlockChanges(); } -- cgit v1.2.3