Added a check to see if the mod is allowed to run it's tick stuff