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) {
|
void readValue(ByteLayer data) {
|
||||||
value.clear();
|
value.clear();
|
||||||
|
|
||||||
NBTAccountant.visitTag();
|
//NBTAccountant.visitTag();
|
||||||
NBTAccountant.printRead(this);
|
//NBTAccountant.printRead(this);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
Tag tag = Tag.readNamedTag(data);
|
Tag tag = Tag.readNamedTag(data);
|
||||||
if (tag.getType() == 0) {
|
if (tag.getType() == 0) {
|
||||||
NBTAccountant.leaveTag(this);
|
//NBTAccountant.leaveTag(this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
put(tag.getKey(), tag);
|
put(tag.getKey(), tag);
|
||||||
|
/*
|
||||||
if (tag.getTagType() != TagType.Compound &&
|
if (tag.getTagType() != TagType.Compound &&
|
||||||
tag.getTagType() != TagType.List) {
|
tag.getTagType() != TagType.List) {
|
||||||
NBTAccountant.visitTag();
|
NBTAccountant.visitTag();
|
||||||
NBTAccountant.printRead(tag);
|
NBTAccountant.printRead(tag);
|
||||||
NBTAccountant.leaveTag(tag);
|
NBTAccountant.leaveTag(tag);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue