mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-27 04:35:21 +01:00
Yeah, all the stuff in Factions.java at the bottom is related to invalid task-logic. This is what I should fix next.
This commit is contained in:
parent
bc0a8da76f
commit
1c5c5557b0
@ -17,6 +17,7 @@ public class AutoLeaveTask implements Runnable
|
||||
{
|
||||
FPlayerColl.get().autoLeaveOnInactivityRoutine();
|
||||
|
||||
// TODO: Make it a polling and non-tps-dependent system instead.
|
||||
// maybe setting has been changed? if so, restart task at new rate
|
||||
if (this.rate != ConfServer.autoLeaveRoutineRunsEveryXMinutes)
|
||||
Factions.get().startAutoLeaveTask(true);
|
||||
|
Loading…
Reference in New Issue
Block a user