summaryrefslogtreecommitdiffstats
path: root/converter/cConvert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'converter/cConvert.cpp')
-rw-r--r--converter/cConvert.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/converter/cConvert.cpp b/converter/cConvert.cpp
index 1ee923a31..565a6bd6a 100644
--- a/converter/cConvert.cpp
+++ b/converter/cConvert.cpp
@@ -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