From c3068ea26bc608d30f5966744425686ce2937708 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sat, 14 Dec 2019 17:43:42 -0500 Subject: [PATCH] Rename mystery field in JoinGame --- .../com/velocitypowered/proxy/protocol/packet/JoinGame.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/JoinGame.java b/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/JoinGame.java index b249bcf9c..b422d9876 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/JoinGame.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/JoinGame.java @@ -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); } }