mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-30 14:13:35 +01:00
fix tabulation
This commit is contained in:
parent
b1b441fac2
commit
c0e75dbbd2
@ -39,12 +39,12 @@ public class ProcessSyncronousEmailRegister implements Runnable {
|
|||||||
|
|
||||||
BukkitScheduler sched = plugin.getServer().getScheduler();
|
BukkitScheduler sched = plugin.getServer().getScheduler();
|
||||||
if (time != 0 && limbo != null) {
|
if (time != 0 && limbo != null) {
|
||||||
limbo.getTimeoutTaskId().cancel();
|
limbo.getTimeoutTaskId().cancel();
|
||||||
BukkitTask id = sched.runTaskLaterAsynchronously(plugin, new TimeoutTask(plugin, name, player), time);
|
BukkitTask id = sched.runTaskLaterAsynchronously(plugin, new TimeoutTask(plugin, name, player), time);
|
||||||
limbo.setTimeoutTaskId(id);
|
limbo.setTimeoutTaskId(id);
|
||||||
}
|
}
|
||||||
if (limbo != null){
|
if (limbo != null){
|
||||||
limbo.getMessageTaskId().cancel();
|
limbo.getMessageTaskId().cancel();
|
||||||
BukkitTask nwMsg = sched.runTaskAsynchronously(plugin, new MessageTask(plugin, name, m.send("login_msg"), msgInterval));
|
BukkitTask nwMsg = sched.runTaskAsynchronously(plugin, new MessageTask(plugin, name, m.send("login_msg"), msgInterval));
|
||||||
limbo.setMessageTaskId(nwMsg);
|
limbo.setMessageTaskId(nwMsg);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user