From 55ba39ca0e2d4aed9c0c1b3e030727728ea0a02f Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Wed, 17 Mar 2021 23:18:02 +0000 Subject: Don't send ping updates one packet at a time * Use the batch update feature of the packet. * Lengthen interval between time and ping update packets (ref. http://github.com/cuberite/cuberite/issues/4082#issuecomment-348675321). --- src/Entities/Player.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index f7d54340e..86d4a2a07 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -656,8 +656,6 @@ private: /** The item being dragged by the cursor while in a UI window */ cItem m_DraggingItem; - std::chrono::steady_clock::time_point m_LastPlayerListTime; - cClientHandlePtr m_ClientHandle; cSlotNums m_InventoryPaintSlots; -- cgit v1.2.3