From a61b82748cd2e2a371438320fb09368898994409 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Thu, 6 Dec 2018 21:52:24 -0800 Subject: [PATCH] remove extraneous prints --- src/main/java/baritone/cache/ContainerMemory.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/baritone/cache/ContainerMemory.java b/src/main/java/baritone/cache/ContainerMemory.java index b2b6d596..ae54e157 100644 --- a/src/main/java/baritone/cache/ContainerMemory.java +++ b/src/main/java/baritone/cache/ContainerMemory.java @@ -51,14 +51,12 @@ public class ContainerMemory implements IContainerMemory { } private void read(byte[] bytes) throws IOException { - System.out.println("READ BYTES " + bytes.length); PacketBuffer in = new PacketBuffer(Unpooled.wrappedBuffer(bytes)); int chests = in.readInt(); for (int i = 0; i < chests; i++) { int x = in.readInt(); int y = in.readInt(); int z = in.readInt(); - System.out.println("Read x y z " + x + " " + y + " " + z); RememberedInventory rem = new RememberedInventory(); rem.items.addAll(readItemStacks(in)); rem.size = rem.items.size(); @@ -80,7 +78,6 @@ public class ContainerMemory implements IContainerMemory { out = new PacketBuffer(out.writeInt(entry.getKey().getZ())); out = writeItemStacks(entry.getValue().getContents(), out); } - System.out.println("CONTAINER BYTES " + out.array().length); Files.write(saveTo, out.array()); } @@ -112,7 +109,6 @@ public class ContainerMemory implements IContainerMemory { public static List readItemStacks(PacketBuffer in) throws IOException { int count = in.readInt(); - System.out.println("Read count " + count); List result = new ArrayList<>(); for (int i = 0; i < count; i++) { result.add(in.readItemStack()); @@ -128,10 +124,8 @@ public class ContainerMemory implements IContainerMemory { } public static PacketBuffer writeItemStacks(List write, PacketBuffer out) { - System.out.println("WRITING ITEM STACKS " + write.size() + " " + write); out = new PacketBuffer(out.writeInt(write.size())); for (ItemStack stack : write) { - System.out.println(out.writableBytes()); out = out.writeItemStack(stack); } return out;