public GlowScheduler(GlowServer server,WorldScheduler worlds){
  this.server=server;
  this.worlds=worlds;
  inTickTaskCondition=worlds.getAdvanceCondition();
  tickEndRun=null;
  primaryThread=Thread.currentThread();
}

public GlowScheduler ( GlowServer server , WorldScheduler worlds ) { this . server = server ; this . worlds = worlds ; inTickTaskCondition = worlds . getAdvanceCondition ( ) ; tickEndRun = null ; primaryThread = Thread . currentThread ( ) ; }
creates a new task scheduler .
