Initial support for 1.13 clients
+ Can look at *shape* of world + Can look at *shape* of inventory
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "Protocol_1_10.h"
|
||||
#include "Protocol_1_11.h"
|
||||
#include "Protocol_1_12.h"
|
||||
#include "Protocol_1_13.h"
|
||||
#include "Packetizer.h"
|
||||
#include "../ClientHandle.h"
|
||||
#include "../Root.h"
|
||||
@@ -1150,6 +1151,11 @@ bool cProtocolRecognizer::TryRecognizeLengthedProtocol(UInt32 a_PacketLengthRema
|
||||
m_Protocol = new cProtocol_1_12_2(m_Client, ServerAddress, ServerPort, NextState);
|
||||
return true;
|
||||
}
|
||||
case PROTO_VERSION_1_13:
|
||||
{
|
||||
m_Protocol = new cProtocol_1_13(m_Client, ServerAddress, ServerPort, NextState);
|
||||
return true;
|
||||
}
|
||||
default:
|
||||
{
|
||||
LOGD("Client \"%s\" uses an unsupported protocol (lengthed, version %u (0x%x))",
|
||||
|
||||
Reference in New Issue
Block a user