Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
24w34a
Dieser Commit ist enthalten in:
Ursprung
5321faa909
Commit
c76873db85
@ -88,7 +88,7 @@ public enum ProtocolVersion implements Ordered<ProtocolVersion> {
|
||||
MINECRAFT_1_20_3(765, "1.20.3", "1.20.4"),
|
||||
MINECRAFT_1_20_5(766, "1.20.5", "1.20.6"),
|
||||
MINECRAFT_1_21(767, "1.21", "1.21.1"),
|
||||
MINECRAFT_1_21_2(768, 205, "1.21.2");
|
||||
MINECRAFT_1_21_2(768, 206, "1.21.2");
|
||||
|
||||
private static final int SNAPSHOT_BIT = 30;
|
||||
|
||||
|
@ -36,7 +36,7 @@ public class ClientSettingsPacket implements MinecraftPacket {
|
||||
private int mainHand;
|
||||
private boolean textFilteringEnabled; // Added in 1.17
|
||||
private boolean clientListingAllowed; // Added in 1.18, overwrites server-list "anonymous" mode
|
||||
private int particleStatus; // Added in 1.20.2
|
||||
private int particleStatus; // Added in 1.21.2
|
||||
|
||||
public ClientSettingsPacket() {
|
||||
}
|
||||
|
@ -189,7 +189,7 @@ public class UpsertPlayerInfoPacket implements MinecraftPacket {
|
||||
info.displayName.write(buf);
|
||||
}
|
||||
}),
|
||||
UPDATE_LIST_ORDER((version, buf, info) -> { // red
|
||||
UPDATE_LIST_ORDER((version, buf, info) -> { // read
|
||||
info.listOrder = ProtocolUtils.readVarInt(buf);
|
||||
}, (version, buf, info) -> { // write
|
||||
ProtocolUtils.writeVarInt(buf, info.listOrder);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren