From 02571aae504fd3a2e63765dff66b18e723d49a6b Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Tue, 20 Apr 2021 17:09:20 +0200 Subject: [PATCH] Disables the weather packet for 1.13 (#5200) * disables the weather packet * fixed style and removed extra semicolon --- src/Protocol/Protocol_1_13.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Protocol/Protocol_1_13.h b/src/Protocol/Protocol_1_13.h index 970625877..4992c5a1f 100644 --- a/src/Protocol/Protocol_1_13.h +++ b/src/Protocol/Protocol_1_13.h @@ -46,6 +46,8 @@ protected: virtual void SendTabCompletionResults (const AStringVector & a_Results) override; virtual void SendUpdateBlockEntity (cBlockEntity & a_BlockEntity) override; + virtual void SendWeather (eWeather a_Weather) override {} // This packet was removed. This keeps players from joining the server with 1.13 while there is downfall + virtual UInt8 GetEntityMetadataID(EntityMetadata a_Metadata) const; virtual UInt8 GetEntityMetadataID(EntityMetadataType a_FieldType) const; virtual std::pair GetItemFromProtocolID(UInt32 a_ProtocolID) const;