mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Fix ExtInfo packet from last commit.
This commit is contained in:
parent
d8e8159d8c
commit
6f0a9e0abf
@ -72,7 +72,7 @@ namespace MCGalaxy {
|
|||||||
|
|
||||||
void HandleExtInfo(byte[] packet) {
|
void HandleExtInfo(byte[] packet) {
|
||||||
appName = GetString(packet, 1);
|
appName = GetString(packet, 1);
|
||||||
extensionCount = packet[67];
|
extensionCount = packet[66];
|
||||||
// NOTE: Workaround as ClassiCube violates the CPE specification here.
|
// NOTE: Workaround as ClassiCube violates the CPE specification here.
|
||||||
// If server sends version 2, the client should reply with version 1.
|
// If server sends version 2, the client should reply with version 1.
|
||||||
// Except ClassiCube just doesn't reply at all if server sends version 2.
|
// Except ClassiCube just doesn't reply at all if server sends version 2.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user