Update to NeoLegacy Latest
This commit is contained in:
@@ -58,7 +58,7 @@ void RespawnPacket::read(DataInputStream *dis) //throws IOException
|
||||
mapSeed = dis->readLong();
|
||||
difficulty = dis->readByte();
|
||||
m_newSeaLevel = dis->readBoolean();
|
||||
m_newEntityId = dis->readShort();
|
||||
m_newEntityId = dis->readInt();
|
||||
#ifdef _LARGE_WORLDS
|
||||
m_xzSize = dis->readShort();
|
||||
m_hellScale = dis->read();
|
||||
@@ -83,7 +83,7 @@ void RespawnPacket::write(DataOutputStream *dos) //throws IOException
|
||||
dos->writeLong(mapSeed);
|
||||
dos->writeByte(difficulty);
|
||||
dos->writeBoolean(m_newSeaLevel);
|
||||
dos->writeShort(m_newEntityId);
|
||||
dos->writeInt(m_newEntityId);
|
||||
#ifdef _LARGE_WORLDS
|
||||
dos->writeShort(m_xzSize);
|
||||
dos->write(m_hellScale);
|
||||
@@ -97,5 +97,5 @@ int RespawnPacket::getEstimatedSize()
|
||||
{
|
||||
length = static_cast<int>(m_pLevelType->getGeneratorName().length());
|
||||
}
|
||||
return 13+length;
|
||||
return 13+length+2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user