Took 2 minutes
This commit is contained in:
Kiran Hart 2022-03-24 17:32:23 -04:00
parent 7ea4453025
commit 837ce69f59
2 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>ca.tweetzy</groupId>
<artifactId>auctionhouse</artifactId>
<version>2.60.0</version>
<version>2.60.1</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -69,23 +69,23 @@ public class PlaceholderAPIHook extends PlaceholderExpansion {
}
if (params.equalsIgnoreCase("total_money_earned")) {
return AuctionAPI.getInstance().formatNumber(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getEarned());
return String.valueOf(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getEarned());
}
if (params.equalsIgnoreCase("total_money_spent")) {
return AuctionAPI.getInstance().formatNumber(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getSpent());
return String.valueOf(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getSpent());
}
if (params.equalsIgnoreCase("total_items_listed")) {
return AuctionAPI.getInstance().formatNumber(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getCreated());
return String.valueOf(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getCreated());
}
if (params.equalsIgnoreCase("total_items_expired")) {
return AuctionAPI.getInstance().formatNumber(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getExpired());
return String.valueOf(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getExpired());
}
if (params.equalsIgnoreCase("total_items_sold")) {
return AuctionAPI.getInstance().formatNumber(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getSold());
return String.valueOf(AuctionHouse.getInstance().getAuctionStatManager().getPlayerStats(player).getSold());
}
if (params.equalsIgnoreCase("server_active_auctions")) {