diff options
author | plan1231 <47790831+plan1231@users.noreply.github.com> | 2022-10-28 15:54:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 15:54:02 +0200 |
commit | 21ec3ebe26bff24b5fc6d96f86a441c9c9628247 (patch) | |
tree | a1a541cbbdce2294059b501d1c9ab69ffe0bae79 /src/Protocol | |
parent | rework of the color code with & and standard codes (#5416) (diff) | |
download | cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.gz cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.bz2 cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.lz cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.xz cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.zst cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol_1_10.cpp | 1 | ||||
-rw-r--r-- | src/Protocol/Protocol_1_8.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_10.cpp b/src/Protocol/Protocol_1_10.cpp index 4f89cf6bd..2e0eb52a7 100644 --- a/src/Protocol/Protocol_1_10.cpp +++ b/src/Protocol/Protocol_1_10.cpp @@ -341,6 +341,7 @@ cProtocol::Version cProtocol_1_10_0::GetProtocolVersion() const void cProtocol_1_10_0::HandlePacketResourcePackStatus(cByteBuffer & a_ByteBuffer) { HANDLE_READ(a_ByteBuffer, ReadBEUInt8, UInt8, Status); + m_Client->HandleResourcePack(Status); } 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); } |