Comment out read debuggery
This commit is contained in:
parent
b359400c83
commit
5d9c201e54
1 changed files with 5 additions and 5 deletions
|
@ -10,24 +10,24 @@ class CompoundTag extends Tag {
|
|||
void readValue(ByteLayer data) {
|
||||
value.clear();
|
||||
|
||||
NBTAccountant.visitTag();
|
||||
NBTAccountant.printRead(this);
|
||||
//NBTAccountant.visitTag();
|
||||
//NBTAccountant.printRead(this);
|
||||
|
||||
while (true) {
|
||||
Tag tag = Tag.readNamedTag(data);
|
||||
if (tag.getType() == 0) {
|
||||
NBTAccountant.leaveTag(this);
|
||||
//NBTAccountant.leaveTag(this);
|
||||
return;
|
||||
}
|
||||
|
||||
put(tag.getKey(), tag);
|
||||
|
||||
/*
|
||||
if (tag.getTagType() != TagType.Compound &&
|
||||
tag.getTagType() != TagType.List) {
|
||||
NBTAccountant.visitTag();
|
||||
NBTAccountant.printRead(tag);
|
||||
NBTAccountant.leaveTag(tag);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue