Comment out read debuggery

This commit is contained in:
zontreck 2024-05-06 01:20:38 -07:00
parent b359400c83
commit 5d9c201e54

View file

@ -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);
}
}*/
}
}