mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-06-30 17:59:43 +00:00
First update check is done 10 minutes after server start.
This commit is contained in:
parent
17e11adf9a
commit
5d4aa95fc3
|
@ -215,7 +215,7 @@ public class Essentials extends JavaPlugin implements IEssentials
|
||||||
if (getSettings().isUpdateEnabled())
|
if (getSettings().isUpdateEnabled())
|
||||||
{
|
{
|
||||||
updateTimer = new EssentialsUpdateTimer(this);
|
updateTimer = new EssentialsUpdateTimer(this);
|
||||||
getScheduler().scheduleAsyncRepeatingTask(this, updateTimer, 20 * 60, 20 * 3600 * 6);
|
getScheduler().scheduleAsyncRepeatingTask(this, updateTimer, 20 * 60 * 10, 20 * 3600 * 6);
|
||||||
}
|
}
|
||||||
LOGGER.info(Util.format("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), Util.joinList(this.getDescription().getAuthors())));
|
LOGGER.info(Util.format("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), Util.joinList(this.getDescription().getAuthors())));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue