Added getLanguageConfig()

Added getLanguageConfig() to CoreAbility.
This commit is contained in:
Finn Bon 2016-04-10 00:18:21 +02:00
parent fd1326e5db
commit b5e5eab0ff

View file

@ -548,6 +548,13 @@ public abstract class CoreAbility implements Ability {
return ConfigManager.getConfig();
}
/**
* @return the language.yml for the plugin
*/
public static FileConfiguration getLanguageConfig() {
return ConfigManager.languageConfig.get();
}
/**
* Returns a String used to debug potential CoreAbility memory that can be caused
* by a developer forgetting to call {@link #remove()}