3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-25 15:50:12 +01:00
* Fix #25

* Update PlayerPackets1_11.java
Dieser Commit ist enthalten in:
creeper123123321 2018-03-19 18:45:43 -03:00 committet von Mats
Ursprung 7fbd546d43
Commit f9ad3b59f1

Datei anzeigen

@ -23,7 +23,7 @@ public class PlayerPackets1_11 {
private static final ValueTransformer<Short, Float> toNewFloat = new ValueTransformer<Short, Float>(Type.FLOAT) { private static final ValueTransformer<Short, Float> toNewFloat = new ValueTransformer<Short, Float>(Type.FLOAT) {
@Override @Override
public Float transform(PacketWrapper wrapper, Short inputValue) throws Exception { public Float transform(PacketWrapper wrapper, Short inputValue) throws Exception {
return (float) (inputValue / 16); return inputValue / 15f;
} }
}; };