Remove debug

This commit is contained in:
boy0001
2015-07-25 03:40:17 +10:00
parent c0101695c6
commit 8a3f6c5eca
3 changed files with 15 additions and 28 deletions

View File

@ -62,7 +62,6 @@ public final class NBTInputStream implements Closeable {
* @throws IOException if an I/O error occurs.
*/
private Tag readTag(final int depth, int maxDepth) throws IOException {
System.out.print("READING TAG!!!");
if ((count++) > maxDepth) throw new IOException("Exceeds max depth: " + count);
final int type = this.is.readByte() & 0xFF;
String name;
@ -91,7 +90,6 @@ public final class NBTInputStream implements Closeable {
private Tag readTagPayload(final int type, final String name, final int depth, int maxDepth) throws IOException {
if ((count++) > maxDepth) throw new IOException("Exceeds max depth: " + count);
count++;
System.out.print(count + " | " + type);
switch (type) {
case NBTConstants.TYPE_END:
if (depth == 0) {