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_12.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 'src/Protocol/Protocol_1_12.h')
-rw-r--r-- | src/Protocol/Protocol_1_12.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/Protocol/Protocol_1_12.h b/src/Protocol/Protocol_1_12.h index 56a7b5341..38c025e9e 100644 --- a/src/Protocol/Protocol_1_12.h +++ b/src/Protocol/Protocol_1_12.h @@ -24,12 +24,13 @@ Declares the 1.12 protocol classes: -class cProtocol_1_12 : +class cProtocol_1_12: public cProtocol_1_11_1 { - typedef cProtocol_1_11_1 Super; + using Super = cProtocol_1_11_1; public: + cProtocol_1_12(cClientHandle * a_Client, const AString &a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); protected: @@ -49,12 +50,13 @@ protected: -class cProtocol_1_12_1 : +class cProtocol_1_12_1: public cProtocol_1_12 { - typedef cProtocol_1_12 Super; + using Super = cProtocol_1_12; public: + cProtocol_1_12_1(cClientHandle * a_Client, const AString &a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); protected: @@ -71,9 +73,10 @@ protected: class cProtocol_1_12_2: public cProtocol_1_12_1 { - typedef cProtocol_1_12_1 Super; + using Super = cProtocol_1_12_1; public: + cProtocol_1_12_2(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State): Super(a_Client, a_ServerAddress, a_ServerPort, a_State) { |