Merge pull request #478 from FinnBueno/master

Added getLanguageConfig()
This commit is contained in:
OmniCypher 2016-04-09 17:09:55 -07:00
commit 7df77ee723

View file

@ -548,6 +548,13 @@ public abstract class CoreAbility implements Ability {
return ConfigManager.getConfig(); 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 * Returns a String used to debug potential CoreAbility memory that can be caused
* by a developer forgetting to call {@link #remove()} * by a developer forgetting to call {@link #remove()}