From b225afe6ef2f0c8d55637b14178b788956e7245a Mon Sep 17 00:00:00 2001 From: Hugo Kerstens Date: Tue, 22 Mar 2016 15:28:00 +0100 Subject: [PATCH] Fix armorstands moving incorrectly when using relative movement packets --- .../myles/ViaVersion/transformers/OutgoingTransformer.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/us/myles/ViaVersion/transformers/OutgoingTransformer.java b/src/main/java/us/myles/ViaVersion/transformers/OutgoingTransformer.java index cee828de3..162c644dc 100644 --- a/src/main/java/us/myles/ViaVersion/transformers/OutgoingTransformer.java +++ b/src/main/java/us/myles/ViaVersion/transformers/OutgoingTransformer.java @@ -252,9 +252,6 @@ public class OutgoingTransformer { int x = input.readByte(); output.writeShort(x * 128); int y = input.readByte(); - if (plugin.isHologramPatch() & knownHolograms.contains(id)) { - y = (int) ((y) + plugin.getHologramYOffset()); - } output.writeShort(y * 128); int z = input.readByte(); output.writeShort(z * 128); @@ -275,9 +272,6 @@ public class OutgoingTransformer { short x = (short) (input.readByte()); output.writeShort(x * 128); short y = (short) (input.readByte()); - if (plugin.isHologramPatch() & knownHolograms.contains(id)) { - y = (short) (y - 1); - } output.writeShort(y * 128); short z = (short) (input.readByte()); output.writeShort(z * 128);