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:
Olof Larsson 2013-04-18 12:39:20 +02:00
parent bc0a8da76f
commit 1c5c5557b0

View File

@ -17,6 +17,7 @@ public class AutoLeaveTask implements Runnable
{ {
FPlayerColl.get().autoLeaveOnInactivityRoutine(); 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 // maybe setting has been changed? if so, restart task at new rate
if (this.rate != ConfServer.autoLeaveRoutineRunsEveryXMinutes) if (this.rate != ConfServer.autoLeaveRoutineRunsEveryXMinutes)
Factions.get().startAutoLeaveTask(true); Factions.get().startAutoLeaveTask(true);