3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-07 16:50:12 +01:00

simplify javadoc of updateShowCoordinates() in WorldCache.java (#2162)

Dieser Commit ist enthalten in:
Konicai 2021-04-21 19:05:53 -04:00 committet von GitHub
Ursprung 0a79eb92ac
Commit 873e37e1c0
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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:
*
* <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();