mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-09 04:11:50 +01:00
Actually run the task
This commit is contained in:
parent
2ef4bccbfc
commit
88f3e0ce06
@ -5,6 +5,7 @@
|
|||||||
package main.java.com.djrapitops.plan;
|
package main.java.com.djrapitops.plan;
|
||||||
|
|
||||||
import com.djrapitops.plugin.BungeePlugin;
|
import com.djrapitops.plugin.BungeePlugin;
|
||||||
|
import com.djrapitops.plugin.api.TimeAmount;
|
||||||
import com.djrapitops.plugin.settings.ColorScheme;
|
import com.djrapitops.plugin.settings.ColorScheme;
|
||||||
import com.djrapitops.plugin.task.AbsRunnable;
|
import com.djrapitops.plugin.task.AbsRunnable;
|
||||||
import main.java.com.djrapitops.plan.api.IPlan;
|
import main.java.com.djrapitops.plan.api.IPlan;
|
||||||
@ -95,7 +96,8 @@ public class PlanBungee extends BungeePlugin<PlanBungee> implements IPlan {
|
|||||||
infoManager.sendConfigSettings();
|
infoManager.sendConfigSettings();
|
||||||
}
|
}
|
||||||
}).runTaskAsynchronously();
|
}).runTaskAsynchronously();
|
||||||
getRunnableFactory().createNew("Player Count task", new TPSCountTimer(this));
|
getRunnableFactory().createNew("Player Count task", new TPSCountTimer(this))
|
||||||
|
.runTaskTimerAsynchronously(1000, TimeAmount.SECOND.ticks());
|
||||||
|
|
||||||
// getProxy().registerChannel("Plan");
|
// getProxy().registerChannel("Plan");
|
||||||
// registerListener(new BungeePluginChannelListener(this));
|
// registerListener(new BungeePluginChannelListener(this));
|
||||||
|
Loading…
Reference in New Issue
Block a user