Fixed config = getConfig() method

I added private FileConfiguration config; and it has been tested, should fix issue.