From 21ec3ebe26bff24b5fc6d96f86a441c9c9628247 Mon Sep 17 00:00:00 2001 From: plan1231 <47790831+plan1231@users.noreply.github.com> Date: Fri, 28 Oct 2022 09:54:02 -0400 Subject: Kick clients when resource pack rejected (#5440) --- src/Protocol/Protocol_1_8.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Protocol/Protocol_1_8.cpp') diff --git a/src/Protocol/Protocol_1_8.cpp b/src/Protocol/Protocol_1_8.cpp index cbb13e68e..e949d6116 100644 --- a/src/Protocol/Protocol_1_8.cpp +++ b/src/Protocol/Protocol_1_8.cpp @@ -2595,6 +2595,8 @@ void cProtocol_1_8_0::HandlePacketResourcePackStatus(cByteBuffer & a_ByteBuffer) { HANDLE_READ(a_ByteBuffer, ReadVarUTF8String, AString, Hash); HANDLE_READ(a_ByteBuffer, ReadBEUInt8, UInt8, Status); + + m_Client->HandleResourcePack(Status); } -- cgit v1.2.3