1
0

Last changes to the converter before bed.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@26 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
admin@omencraft.com 2011-10-30 09:01:38 +00:00
parent 5134805bd7
commit 0673834955
2 changed files with 4 additions and 1 deletions

View File

@ -178,10 +178,13 @@ int main () {
NBTData->ParseData();
NBTData->PrintData();
//Char* Blocks =
//NBTData->GetByteArray("Blocks");
//for(unsigned int i = 0; i < 111; i++) {//re
//printf("Blocks?: %i\n", NBTData->cNBTCompound::GetByteArray("Blocks")[0]);
printf("xPos: %i\n", NBTData->GetInteger("xPos") );
//will print
//xPos: 0
printf("test: %i\n", NBTData->cNBTCompound::GetByteArray("Blocks")[0] );
//}
return 1;
fwrite( BlockData, DestSize, 1, wf ); //write contents of uncompressed block data to file to check to see if it's valid... It is! :D

Binary file not shown.