mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-29 06:35:28 +01:00
2.60.1
Took 2 minutes
This commit is contained in:
parent
7ea4453025
commit
837ce69f59
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>ca.tweetzy</groupId>
|
<groupId>ca.tweetzy</groupId>
|
||||||
<artifactId>auctionhouse</artifactId>
|
<artifactId>auctionhouse</artifactId>
|
||||||
<version>2.60.0</version>
|
<version>2.60.1</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
@ -69,23 +69,23 @@ public class PlaceholderAPIHook extends PlaceholderExpansion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (params.equalsIgnoreCase("total_money_earned")) {
|
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")) {
|
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")) {
|
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")) {
|
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")) {
|
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")) {
|
if (params.equalsIgnoreCase("server_active_auctions")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user