Update PlayerPackets1_11.java (#492)

This commit is contained in:
EDX 2022-08-15 11:55:09 +02:00 committed by GitHub
parent 958f265e18
commit 3695df1e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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