This commit is contained in:
		
					parent
					
						
							
								e409d3e4df
							
						
					
				
			
			
				commit
				
					
						1cc787230c
					
				
			
		
					 2 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,6 @@
 | 
			
		|||
 | 
			
		||||
package eu.m724.tweaks.pomodoro;
 | 
			
		||||
 | 
			
		||||
import eu.m724.tweaks.Language;
 | 
			
		||||
import eu.m724.tweaks.TweaksConfig;
 | 
			
		||||
import net.md_5.bungee.api.ChatMessageType;
 | 
			
		||||
import org.bukkit.Bukkit;
 | 
			
		||||
| 
						 | 
				
			
			@ -38,7 +37,7 @@ public class PomodoroRunnable extends BukkitRunnable {
 | 
			
		|||
                if (remaining < -60 && force) {
 | 
			
		||||
                    plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, () -> {
 | 
			
		||||
                        pomodoro.next();
 | 
			
		||||
                        player.kickPlayer(Language.getString("pomodoroEndKick") + "\n" + Pomodoros.formatTimer(pomodoro, pomodoro.getRemainingSeconds(now)));
 | 
			
		||||
                        player.kickPlayer(Pomodoros.formatTimer(pomodoro, pomodoro.getRemainingSeconds(now)).toLegacyText());
 | 
			
		||||
                    });
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,6 @@ language = English
 | 
			
		|||
languageEnglish = English
 | 
			
		||||
 | 
			
		||||
updateAvailableNotice = Available updates (%d):
 | 
			
		||||
pomodoroEndKick = Take a break!
 | 
			
		||||
 | 
			
		||||
# Used in /updates
 | 
			
		||||
updatesNotChecked = Not checked yet
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue