#745 Fix unit tests for changes muting message task upon captcha

This commit is contained in:
ljacqu
2016-10-23 16:48:44 +02:00
parent fba2a898b9
commit 05f05f4fe7
3 changed files with 19 additions and 12 deletions
@@ -1,13 +1,9 @@
package fr.xephi.authme.task;
import fr.xephi.authme.data.auth.PlayerCache;
import fr.xephi.authme.data.limbo.LimboCache;
import fr.xephi.authme.service.BukkitService;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;
import org.bukkit.scheduler.BukkitTask;
import static fr.xephi.authme.service.BukkitService.TICKS_PER_SECOND;
/**
* Message shown to a player in a regular interval as long as he is not logged in.
@@ -41,7 +37,7 @@ public class MessageTask extends BukkitRunnable {
cancel();
}
if(isMuted) {
if (isMuted) {
return;
}