Skip to content

Commit

Permalink
Simple Economy.format implementation
Browse files Browse the repository at this point in the history
This change fixes interfacing with some economy-dependant plugins, for instance ShopChest. Related issue: EpicEricEE/ShopChest/issues/359
  • Loading branch information
TheAwoo authored Mar 15, 2021
1 parent f133d8a commit 3de556c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public int fractionalDigits() {

@Override
public String format(double v) {
return null;
return String.format("%,.0f", v);
}

@Override
Expand Down

0 comments on commit 3de556c

Please sign in to comment.