diff options
author | Mattes D <github@xoft.cz> | 2020-04-13 18:38:06 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2020-04-16 22:07:48 +0200 |
commit | 9ee47e59995f858ec531b3ee467f131594e4ba1f (patch) | |
tree | f005d8af4a0362d7eab8a96a71aca0d73275f8e1 /src/Protocol/Protocol_1_11.h | |
parent | Prevent crash when breeding (diff) | |
download | cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.gz cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.bz2 cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.lz cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.xz cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.zst cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol_1_11.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Protocol/Protocol_1_11.h b/src/Protocol/Protocol_1_11.h index 71d0be827..b5c0bbeb8 100644 --- a/src/Protocol/Protocol_1_11.h +++ b/src/Protocol/Protocol_1_11.h @@ -21,12 +21,13 @@ Declares the 1.11 protocol classes: -class cProtocol_1_11_0 : +class cProtocol_1_11_0: public cProtocol_1_10_0 { - typedef cProtocol_1_10_0 Super; + using Super = cProtocol_1_10_0; public: + cProtocol_1_11_0(cClientHandle * a_Client, const AString &a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); virtual void SendCollectEntity(const cEntity & a_Entity, const cPlayer & a_Player, int a_Count) override; @@ -52,12 +53,13 @@ protected: -class cProtocol_1_11_1 : +class cProtocol_1_11_1: public cProtocol_1_11_0 { - typedef cProtocol_1_11_0 Super; + using Super = cProtocol_1_11_0; public: + cProtocol_1_11_1(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); virtual void HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) override; |