mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
simplify javadoc of updateShowCoordinates() in WorldCache.java (#2162)
This commit is contained in:
parent
0a79eb92ac
commit
873e37e1c0
1 changed files with 4 additions and 5 deletions
|
@ -75,11 +75,10 @@ public class WorldCache {
|
||||||
/**
|
/**
|
||||||
* Tell the client to hide or show the coordinates.
|
* 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:
|
* If {@link #prefersShowCoordinates} is true, coordinates will be shown, unless either of the following conditions apply: <br>
|
||||||
*
|
* <br>
|
||||||
* <li> {@link GeyserSession#isReducedDebugInfo()} is enabled
|
* {@link GeyserSession#reducedDebugInfo} is enabled
|
||||||
* <li> {@link GeyserConfiguration#isShowCoordinates()} is disabled
|
* {@link GeyserConfiguration#isShowCoordinates()} is disabled
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void updateShowCoordinates() {
|
public void updateShowCoordinates() {
|
||||||
boolean allowShowCoordinates = !session.isReducedDebugInfo() && session.getConnector().getConfig().isShowCoordinates();
|
boolean allowShowCoordinates = !session.isReducedDebugInfo() && session.getConnector().getConfig().isShowCoordinates();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue