Пример #1
0
 private PlayerData getData(UUID player) {
   return RPMachine.database().getPlayerData(player);
 }
Пример #2
0
 public static String getMoneyName() {
   if (moneyName == null) {
     moneyName = RPMachine.getInstance().getConfig().getString("money.symbol", "$");
   }
   return moneyName;
 }
Пример #3
0
 public static double getBaseAmount() {
   if (baseAmount == -1) {
     baseAmount = RPMachine.getInstance().getConfig().getDouble("money.baseAmount", 150D);
   }
   return baseAmount;
 }