From 4dda2a5c2bf594a401f591095faf2c7e8ba19a7d Mon Sep 17 00:00:00 2001 From: faketruth Date: Fri, 2 Mar 2012 01:22:06 +0000 Subject: 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 --- source/packets/cPacket_MapChunk.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/packets/cPacket_MapChunk.cpp') diff --git a/source/packets/cPacket_MapChunk.cpp b/source/packets/cPacket_MapChunk.cpp index 99afd9a40..e9ebf8355 100644 --- a/source/packets/cPacket_MapChunk.cpp +++ b/source/packets/cPacket_MapChunk.cpp @@ -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]; -- cgit v1.2.3