This commit is contained in:
Magnus Ulf
2019-05-20 17:44:52 +02:00
parent d0960911b8
commit 4a66c2fe47
8 changed files with 36 additions and 109 deletions

View File

@@ -31,7 +31,7 @@ public class TaskPlayerPowerUpdate extends ModuloRepeatTask
public long getDelayMillis()
{
// The interval is determined by the MConf rather than being set with setDelayMillis.
return (long) (MConf.get().taskPlayerPowerUpdateMinutes * TimeUnit.MILLIS_PER_MINUTE);
return TimeUnit.MILLIS_PER_MINUTE;
}
@Override