diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-03-20 21:58:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-20 21:58:19 +0100 |
commit | 90369deb5a870674ab02a26a93a71f06eafe9293 (patch) | |
tree | e37bb9272ea0265db7dce611120ed63381ca2626 /src/Entities/Player.h | |
parent | Don't send ping updates one packet at a time (diff) | |
download | cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.gz cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.bz2 cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.lz cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.xz cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.tar.zst cuberite-90369deb5a870674ab02a26a93a71f06eafe9293.zip |
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r-- | src/Entities/Player.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 86d4a2a07..2d31ef84b 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -47,7 +47,7 @@ public: CLASS_PROTODEF(cPlayer) - cPlayer(const cClientHandlePtr & a_Client); + cPlayer(const std::shared_ptr<cClientHandle> & a_Client); virtual ~cPlayer() override; // tolua_begin @@ -656,7 +656,7 @@ private: /** The item being dragged by the cursor while in a UI window */ cItem m_DraggingItem; - cClientHandlePtr m_ClientHandle; + std::shared_ptr<cClientHandle> m_ClientHandle; cSlotNums m_InventoryPaintSlots; |