Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 15:20:35 +01:00
Rename mystery field in JoinGame
Dieser Commit ist enthalten in:
Ursprung
b56302b17e
Commit
c3068ea26b
@ -18,7 +18,7 @@ public class JoinGame implements MinecraftPacket {
|
||||
private @Nullable String levelType;
|
||||
private int viewDistance; //1.14+
|
||||
private boolean reducedDebugInfo;
|
||||
private boolean mystery;
|
||||
private boolean showRespawnScreen;
|
||||
|
||||
public int getEntityId() {
|
||||
return entityId;
|
||||
@ -128,7 +128,7 @@ public class JoinGame implements MinecraftPacket {
|
||||
}
|
||||
this.reducedDebugInfo = buf.readBoolean();
|
||||
if (version.compareTo(ProtocolVersion.MINECRAFT_1_15) >= 0) {
|
||||
this.mystery = buf.readBoolean();
|
||||
this.showRespawnScreen = buf.readBoolean();
|
||||
}
|
||||
}
|
||||
|
||||
@ -157,7 +157,7 @@ public class JoinGame implements MinecraftPacket {
|
||||
}
|
||||
buf.writeBoolean(reducedDebugInfo);
|
||||
if (version.compareTo(ProtocolVersion.MINECRAFT_1_15) >= 0) {
|
||||
buf.writeBoolean(mystery);
|
||||
buf.writeBoolean(showRespawnScreen);
|
||||
}
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren