#745 Fix unit tests for changes muting message task upon captcha
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user