1
0

MultiBlock packet is working partly.. I really don't understand what's wrong with this packet :/

git-svn-id: http://mc-server.googlecode.com/svn/trunk@351 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
faketruth
2012-03-02 01:22:06 +00:00
parent a2f6ab93b6
commit 4dda2a5c2b
4 changed files with 54 additions and 2 deletions

View File

@@ -49,9 +49,10 @@ cPacket_MapChunk::cPacket_MapChunk(cChunk * a_Chunk)
AllData[iterator] = a_Chunk->GetBlock( x, y+i*16, z );
++iterator;
}
//iterator+=2048*2; // Ignore light and stuff
}
//TODO: Send block metadata
//TODO: Send block light
//TODO: Send sky light
uLongf CompressedSize = compressBound( DataSize );
char * CompressedBlockData = new char[CompressedSize];