mirror of
https://github.com/Freezy-Studios/BlazeSMP.git
synced 2025-04-22 11:44:05 +02:00
Changed TabListTimer intervall system
This commit is contained in:
parent
3c40a33714
commit
56d5f2d6a4
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue