3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-29 09:30:10 +01:00

Apply suggestions from code review

Co-authored-by: chris <github@onechris.mozmail.com>
Dieser Commit ist enthalten in:
Camotoy 2024-09-23 13:57:32 -04:00 committet von GitHub
Ursprung 869f7a8966
Commit 3448c2fa9b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -68,7 +68,7 @@ public interface AdvancedConfig {
@Comment(""" @Comment("""
Geyser updates the Scoreboard after every Scoreboard packet, but when Geyser tries to handle Geyser updates the Scoreboard after every Scoreboard packet, but when Geyser tries to handle
a lot of scoreboard packets per second can cause serious lag. a lot of scoreboard packets per second, this can cause serious lag.
This option allows you to specify after how many Scoreboard packets per seconds This option allows you to specify after how many Scoreboard packets per seconds
the Scoreboard updates will be limited to four updates per second.""") the Scoreboard updates will be limited to four updates per second.""")
@DefaultNumeric(20) @DefaultNumeric(20)

Datei anzeigen

@ -53,7 +53,7 @@ public interface GeyserConfig {
@Comment(""" @Comment("""
For online mode authentication type only. For online mode authentication type only.
Stores a list of Bedrock players that should have their Java Edition account saved after login. Stores a list of Bedrock player usernames that should have their Java Edition account saved after login.
This saves a token that can be reused to authenticate the player later. This does not save emails or passwords, This saves a token that can be reused to authenticate the player later. This does not save emails or passwords,
but you should still be cautious when adding to this list and giving others access to this Geyser instance's files. but you should still be cautious when adding to this list and giving others access to this Geyser instance's files.
Removing a name from this list will delete its cached login information on the next Geyser startup. Removing a name from this list will delete its cached login information on the next Geyser startup.
@ -281,7 +281,7 @@ public interface GeyserConfig {
@Override @Override
@Comment(""" @Comment("""
What type of authentication Bedrock players will be checked against when logging into the Java server. What type of authentication Bedrock players will be checked against when logging into the Java server.
Can be floodgate (see https://wiki.geysermc.org/floodgate/), online, or offline.""") Can be "floodgate" (see https://wiki.geysermc.org/floodgate/), "online", or "offline".""")
@NonNull @NonNull
default AuthType authType() { default AuthType authType() {
return AuthType.ONLINE; return AuthType.ONLINE;