Changed the Config class connection

Plugin crashed so i was needed to change this