progress on boosters
This commit is contained in:
1 parent
b6cefd5403
commit
95d219d546
13 files changed
+677
-24
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package com.alttd.vboosters.task;
|
||||
|
||||
import com.alttd.vboosters.VelocityBoosters;
|
||||
import com.alttd.vboosters.config.Config;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
public class BoosterTask {
|
||||
|
||||
private VelocityBoosters plugin;
|
||||
|
||||
public BoosterTask() {
|
||||
super();
|
||||
plugin = VelocityBoosters.getPlugin();
|
||||
}
|
||||
|
||||
public void init() {
|
||||
plugin.getProxy().getScheduler().buildTask(plugin, () -> {
|
||||
|
||||
}).repeat(Config.TaskCheckFrequency, TimeUnit.SECONDS).schedule();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user