diff --git a/src/main/java/eu/m724/tweaks/pomodoro/Pomodoros.java b/src/main/java/eu/m724/tweaks/pomodoro/Pomodoros.java index 2fa63e5..799d08c 100644 --- a/src/main/java/eu/m724/tweaks/pomodoro/Pomodoros.java +++ b/src/main/java/eu/m724/tweaks/pomodoro/Pomodoros.java @@ -6,7 +6,6 @@ package eu.m724.tweaks.pomodoro; -import eu.m724.tweaks.TweaksConfig; import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.chat.BaseComponent; import net.md_5.bungee.api.chat.ComponentBuilder; @@ -17,8 +16,6 @@ import java.util.Map; import java.util.UUID; public class Pomodoros { - private static final boolean force = TweaksConfig.getConfig().pomodoroForce(); - static final Map timers = new HashMap<>(); public static PlayerPomodoro get(Player player) { @@ -51,14 +48,8 @@ public class Pomodoros { .append("%02d:%02d".formatted(remaining / 60, remaining % 60)) .color(ChatColor.GRAY); } else { - // TODO I think it's bad to put this here - if (force) { - remaining += 60; - } else { - remaining = 0; - } builder - .append("%02d:%02d".formatted(remaining / 60, remaining % 60)) + .append("00:00") .color(remaining % 2 == 0 ? ChatColor.RED : ChatColor.YELLOW); } }