Skip to content

Commit

Permalink
simplify javadoc of updateShowCoordinates() in WorldCache.java (Geyse…
Browse files Browse the repository at this point in the history
  • Loading branch information
Konicai authored Apr 21, 2021
1 parent 0a79eb9 commit 873e37e
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,10 @@ public int increaseAndGetScoreboardPacketsPerSecond() {
/**
* 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:
*
* <li> {@link GeyserSession#isReducedDebugInfo()} is enabled
* <li> {@link GeyserConfiguration#isShowCoordinates()} is disabled
*
* If {@link #prefersShowCoordinates} is true, coordinates will be shown, unless either of the following conditions apply: <br>
* <br>
* {@link GeyserSession#reducedDebugInfo} is enabled
* {@link GeyserConfiguration#isShowCoordinates()} is disabled
*/
public void updateShowCoordinates() {
boolean allowShowCoordinates = !session.isReducedDebugInfo() && session.getConnector().getConfig().isShowCoordinates();
Expand Down

0 comments on commit 873e37e

Please sign in to comment.