From 3c6dcfe5bf8819ccea5b967a9bcb610c2165272c Mon Sep 17 00:00:00 2001 From: HugoDaBosss Date: Sun, 6 Mar 2016 14:42:50 +0100 Subject: [PATCH] Update OutgoingTransformer.java --- .../us/myles/ViaVersion/transformers/OutgoingTransformer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/us/myles/ViaVersion/transformers/OutgoingTransformer.java b/src/main/java/us/myles/ViaVersion/transformers/OutgoingTransformer.java index cd6da577e..099c695a6 100644 --- a/src/main/java/us/myles/ViaVersion/transformers/OutgoingTransformer.java +++ b/src/main/java/us/myles/ViaVersion/transformers/OutgoingTransformer.java @@ -643,8 +643,8 @@ public class OutgoingTransformer { NBTIO.writeTag(out, tag); } else { //There doesn't exist any NBT tag - input.readerIndex(index); - output.writeBytes(input, input.readableBytes()); + input.readerIndex(index); + output.writeBytes(input, input.readableBytes()); } } catch (IOException e) { e.printStackTrace();