From 873e37e1c081487df830206e2b49ac362cc52370 Mon Sep 17 00:00:00 2001 From: Konicai <71294714+Konicai@users.noreply.github.com> Date: Wed, 21 Apr 2021 19:05:53 -0400 Subject: [PATCH] simplify javadoc of updateShowCoordinates() in WorldCache.java (#2162) --- .../connector/network/session/cache/WorldCache.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/session/cache/WorldCache.java b/connector/src/main/java/org/geysermc/connector/network/session/cache/WorldCache.java index 270d3f4a5..84678c211 100644 --- a/connector/src/main/java/org/geysermc/connector/network/session/cache/WorldCache.java +++ b/connector/src/main/java/org/geysermc/connector/network/session/cache/WorldCache.java @@ -75,11 +75,10 @@ public class WorldCache { /** * Tell the client to hide or show the coordinates. * - * If {@link #isPrefersShowCoordinates()} is true, coordinates will be shown, unless either of the following conditions apply: - * - *
  • {@link GeyserSession#isReducedDebugInfo()} is enabled - *
  • {@link GeyserConfiguration#isShowCoordinates()} is disabled - * + * If {@link #prefersShowCoordinates} is true, coordinates will be shown, unless either of the following conditions apply:
    + *
    + * {@link GeyserSession#reducedDebugInfo} is enabled + * {@link GeyserConfiguration#isShowCoordinates()} is disabled */ public void updateShowCoordinates() { boolean allowShowCoordinates = !session.isReducedDebugInfo() && session.getConnector().getConfig().isShowCoordinates();