From 3695df1e44b557fe7626c4fe44f66b343450f8a7 Mon Sep 17 00:00:00 2001 From: EDX <60033407+FlorianMichael@users.noreply.github.com> Date: Mon, 15 Aug 2022 11:55:09 +0200 Subject: [PATCH] Update PlayerPackets1_11.java (#492) --- .../protocol/protocol1_10to1_11/packets/PlayerPackets1_11.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_10to1_11/packets/PlayerPackets1_11.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_10to1_11/packets/PlayerPackets1_11.java index 519ee010..55e7eccd 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_10to1_11/packets/PlayerPackets1_11.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_10to1_11/packets/PlayerPackets1_11.java @@ -34,7 +34,7 @@ public class PlayerPackets1_11 { private static final ValueTransformer TO_NEW_FLOAT = new ValueTransformer(Type.FLOAT) { @Override public Float transform(PacketWrapper wrapper, Short inputValue) throws Exception { - return inputValue / 15f; + return inputValue / 16f; } };