mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-02-17 15:39:30 +08:00
Fix extra respawn packet byte on <1.21.2 (#1448)
This commit is contained in:
parent
05235da55d
commit
7a9227d517
@ -278,7 +278,7 @@ public class RespawnPacket implements MinecraftPacket {
|
||||
ProtocolUtils.writeVarInt(buf, portalCooldown);
|
||||
}
|
||||
|
||||
if (version.noLessThan(ProtocolVersion.MINECRAFT_1_12_1)) {
|
||||
if (version.noLessThan(ProtocolVersion.MINECRAFT_1_21_2)) {
|
||||
ProtocolUtils.writeVarInt(buf, seaLevel);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user