prevent exception onCommand if the plugin is not loaded