@ Override public void onDisable ( ) { if ( getStorageHandler ( ) != null ) { getLogger ( ) . info ( getLanguageManager ( ) . getString ( "closing_db_link" ) ) ; getStorageHandler ( ) . disable ( ) ; } // Managers accountManager = null ; config = null ; currencyManager = null ; storageHandler = null ; eventManager = null ; languageManager = null ; worldGroupManager = null ; commandManager = null ; databaseInitialized = false ; currencyInitialized = false ; initialized = false ; metrics = null ; mainConfig = null ; updater = null ; //Default values displayFormat = null ; holdings = 0.0 ; bankPrice = 0.0 ; }
Disable the plugin .