From 5ad41e041f4188f2043a14200c518daef9ea2a79 Mon Sep 17 00:00:00 2001 From: William278 Date: Mon, 25 Sep 2023 15:21:54 +0100 Subject: [PATCH] Use text block instead of concat in Settings --- .../java/net/william278/velocitab/config/Settings.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/william278/velocitab/config/Settings.java b/src/main/java/net/william278/velocitab/config/Settings.java index 5488f61..3f44578 100644 --- a/src/main/java/net/william278/velocitab/config/Settings.java +++ b/src/main/java/net/william278/velocitab/config/Settings.java @@ -126,9 +126,10 @@ public class Settings { @Getter @YamlKey("update_rate") - @YamlComment("How often in milliseconds to periodically update the TAB list, including header and footer, for all users.\n" + - "If set to 0, TAB will be updated on player join/leave instead. (1s = 1000ms)\n" + - "The minimal update rate is 200ms, anything lower will automatically be set to 200ms.") + @YamlComment(""" + How often in milliseconds to periodically update the TAB list, including header and footer, for all users. + 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; public Settings(@NotNull Velocitab plugin) {