Use text block instead of concat in Settings

This commit is contained in:
William278 2023-09-25 15:21:54 +01:00
parent 7a558d4072
commit 5ad41e041f

View File

@ -126,9 +126,10 @@ public class Settings {
@Getter @Getter
@YamlKey("update_rate") @YamlKey("update_rate")
@YamlComment("How often in milliseconds to periodically update the TAB list, including header and footer, for all users.\n" + @YamlComment("""
"If set to 0, TAB will be updated on player join/leave instead. (1s = 1000ms)\n" + How often in milliseconds to periodically update the TAB list, including header and footer, for all users.
"The minimal update rate is 200ms, anything lower will automatically be set to 200ms.") If set to 0, TAB will be updated on player join/leave instead. (1s = 1000ms)
The minimal update rate is 200ms, anything lower will automatically be set to 200ms.""")
private int updateRate = 0; private int updateRate = 0;
public Settings(@NotNull Velocitab plugin) { public Settings(@NotNull Velocitab plugin) {