@Override
 public boolean isEnabled() {
   return economy != null && economy.isEnabled() && WorldEconomyVault.isEnabled();
 }
 @Override
 public String currencyNamePlural() {
   return WorldEconomyVault.currencyNamePlural();
 }
 @Override
 public String currencyNameSingular() {
   return WorldEconomyVault.currencyNameSingular();
 }
 @Override
 public int fractionalDigits() {
   return WorldEconomyVault.fractionalDigits();
 }
 @Override
 public String format(double amount) {
   return WorldEconomyVault.format(amount);
 }
 @Override
 public EconomyResponse depositPlayer(OfflinePlayer offlinePlayer, double amount) {
   return WorldEconomyVault.depositPlayer(offlinePlayer, amount);
 }
 @Override
 public EconomyResponse withdrawPlayer(OfflinePlayer offlinePlayer, double amount) {
   return WorldEconomyVault.withdrawPlayer(offlinePlayer, amount);
 }
 @Override
 public boolean has(OfflinePlayer offlinePlayer, double amount) {
   return WorldEconomyVault.has(offlinePlayer, amount);
 }
 @Override
 public double getBalance(OfflinePlayer offlinePlayer) {
   return WorldEconomyVault.getBalance(offlinePlayer);
 }
示例#10
0
 @Override
 public boolean hasAccount(OfflinePlayer offlinePlayer) {
   return WorldEconomyVault.hasAccount(offlinePlayer);
 }