Skip to content

Commit

Permalink
Update PacketPlayClientFlying.java
Browse files Browse the repository at this point in the history
  • Loading branch information
terminalsin authored Nov 2, 2020
1 parent 78d2124 commit 73ec461
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public PacketPlayClientFlying(String sub, UUID player, ProtocolVersion version)

@Override
public void read(ProtocolByteBuf byteBuf) {
this.onGround = byteBuf.readBoolean();
this.onGround = byteBuf.readUnsignedByte() != 0;
}

@Getter
Expand Down

0 comments on commit 73ec461

Please sign in to comment.