Skip to content

Commit

Permalink
πŸ› fix: Resolve issue where special cases in NyEconomy fail to work
Browse files Browse the repository at this point in the history
  • Loading branch information
blank038 committed Dec 26, 2024
1 parent db81bb8 commit abfa203
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public MarketData(File file) {
this.saleBroadcast = options.getBoolean("sale-broadcast");
this.dateFormat = options.getString("simple-date-format");
this.priceFormat = options.getString("price-format", "%.1f");
switch ((this.economyType = options.getString("vault-type").toLowerCase())) {
this.economyType = options.getString("vault-type");
switch (economyType.toLowerCase()) {
case "vault":
this.paymentType = PayType.VAULT;
break;
Expand Down

0 comments on commit abfa203

Please sign in to comment.