Added support for localization and localization for Portuguese.
Added support for item name localization.
This commit is contained in:
parent
398bfb6deb
commit
dfbf218aba
10 changed files with 176 additions and 25 deletions
|
|
@ -21,6 +21,11 @@ public class Main extends JavaPlugin {
|
|||
public void onEnable() {
|
||||
instance = this;
|
||||
Config.loadConfig(new UnrealConfig(this, this.getDataFolder(), "config.yml"));
|
||||
getLogger().info(Messages.ENABLING.get(
|
||||
"ItemEconomy",
|
||||
getDescription().getVersion(),
|
||||
Config.getServerLocale()
|
||||
));
|
||||
economy = new VaultLayer();
|
||||
Bukkit.getServicesManager().register(Economy.class, economy, this, ServicePriority.High);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue