Merge pull request #50 from Matsv/master

Merge master into dev
This commit is contained in:
Myles 2018-07-10 12:19:49 +01:00 committed by GitHub
commit 43ad787bda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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