Skip to content

Commit

Permalink
Fix extra respawn packet byte on <1.21.2 (#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
clrxbl authored Oct 22, 2024
1 parent 05235da commit 7a9227d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public void encode(ByteBuf buf, ProtocolUtils.Direction direction, ProtocolVersi
ProtocolUtils.writeVarInt(buf, portalCooldown);
}

if (version.noLessThan(ProtocolVersion.MINECRAFT_1_12_1)) {
if (version.noLessThan(ProtocolVersion.MINECRAFT_1_21_2)) {
ProtocolUtils.writeVarInt(buf, seaLevel);
}

Expand Down

0 comments on commit 7a9227d

Please sign in to comment.