mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Added getLanguageConfig()
Added getLanguageConfig() to CoreAbility.
This commit is contained in:
parent
fd1326e5db
commit
b5e5eab0ff
1 changed files with 7 additions and 0 deletions
|
@ -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()}
|
||||
|
|
Loading…
Reference in a new issue