mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-01-26 17:21:26 +01:00
This needs to be static...
This commit is contained in:
parent
b0ee0e2c7e
commit
e3a71bfad6
@ -62,7 +62,7 @@ public class EconomyManager {
|
||||
* @param amt amount to display
|
||||
* @return a currency string as formatted by the economy plugin
|
||||
*/
|
||||
public String formatEconomy(double amt) {
|
||||
public static String formatEconomy(double amt) {
|
||||
DecimalFormat formatter = new DecimalFormat(amt == Math.ceil(amt) ? "#,###" : "#,###.00");
|
||||
return currencySymbol + formatter.format(amt);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user