refactor(Minecraft.World): Implement LCEMP changes.
This commit is contained in:
@@ -40,7 +40,7 @@ void GameCommandPacket::read(DataInputStream *dis)
|
||||
command = (EGameCommand)dis->readInt();
|
||||
length = dis->readShort();
|
||||
|
||||
if (length > 0 && length < Short::MAX_VALUE)
|
||||
if (length > 0 && length <= Short::MAX_VALUE)
|
||||
{
|
||||
if(data.data != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user