Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-06 08:10:12 +01:00
Fix extra respawn packet byte on <1.21.2 (#1448)
Dieser Commit ist enthalten in:
Ursprung
05235da55d
Commit
7a9227d517
@ -278,7 +278,7 @@ public class RespawnPacket implements MinecraftPacket {
|
|||||||
ProtocolUtils.writeVarInt(buf, portalCooldown);
|
ProtocolUtils.writeVarInt(buf, portalCooldown);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (version.noLessThan(ProtocolVersion.MINECRAFT_1_12_1)) {
|
if (version.noLessThan(ProtocolVersion.MINECRAFT_1_21_2)) {
|
||||||
ProtocolUtils.writeVarInt(buf, seaLevel);
|
ProtocolUtils.writeVarInt(buf, seaLevel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren