Skip to content

Commit 23a1400

Browse files
Fix: always enable locatorBar gamerule on 26.10 and above
1 parent 38fa094 commit 23a1400

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

core/src/main/java/org/geysermc/geyser/session/GeyserSession.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,10 @@ private void sendInitialGameRules() {
980980
// We disable the locator bar until we are certain that the server wants us to enable it
981981
// See WaypointCache for details
982982
gamerulePacket.getGameRules().add(new GameRuleData<>("locatorBar", false));
983+
} else {
984+
// On bedrock 26.10 and above, the client only shows the locator bar when there are
985+
// waypoints on it, so we're fine doing this
986+
gamerulePacket.getGameRules().add(new GameRuleData<>("locatorBar", true));
983987
}
984988

985989
upstream.sendPacket(gamerulePacket);

0 commit comments

Comments
 (0)