cleaned code
fixed MINUTES to regenerate. 60 is 60 ticks, aka 3 seconds. 60*20 is 60 *1 second. Get your math straight è_é
fixed crash on nullpointer in tesr due to the value sometimes being null given the method is called on tick.