If the config variable is null, caused by an issue with the config, the plugin will provide an empty YamlConfiguration so it can use the defaults.
It will tell console every time getConfig() is called so a broken config cannot be missed:
[16:03:09 INFO]: FireML issued server command: /emf admin competition start 10
[16:03:09 WARN]: [EvenMoreFish] competitions.yml has not loaded properly. Please check for earlier errors.
[16:03:09 WARN]: [EvenMoreFish] competitions.yml has not loaded properly. Please check for earlier errors.
[16:03:09 WARN]: [EvenMoreFish] competitions.yml has not loaded properly. Please check for earlier errors.
[16:03:09 WARN]: [EvenMoreFish] competitions.yml has not loaded properly. Please check for earlier errors.
[16:03:09 WARN]: [EvenMoreFish] competitions.yml has not loaded properly. Please check for earlier errors.
[16:03:09 WARN]: [EvenMoreFish] competitions.yml has not loaded properly. Please check for earlier errors.
If the config variable is null, caused by an issue with the config, the plugin will provide an empty YamlConfiguration so it can use the defaults.
It will tell console every time getConfig() is called so a broken config cannot be missed: