Changed TabListTimer intervall system

This commit is contained in:
DaTTV 2025-02-20 22:13:48 +01:00
parent 3c40a33714
commit 56d5f2d6a4
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,6 @@
package me.freezy.plugins.papermc.blazesmp.tasks;
import me.freezy.plugins.papermc.blazesmp.BlazeSMP;
import me.freezy.plugins.papermc.blazesmp.module.manager.L4M4;
import net.kyori.adventure.text.minimessage.MiniMessage;
import org.bukkit.Bukkit;
@ -51,7 +52,7 @@ public class TabListTimer extends BukkitRunnable {
index++;
if (index >= Math.max(header.size(), footer.size())) {
if (index >= BlazeSMP.getInstance().getConfiguration().getInt("tab_update_interval", 5)) {
index = 0;
}
}