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:
		@@ -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);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user