mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-22 05:25:11 +01:00
add back legacy placeholder for money spent
Took 3 minutes
This commit is contained in:
parent
bfb4df41df
commit
7acef89912
@ -82,6 +82,9 @@ public class PlaceholderAPIHook extends PlaceholderExpansion {
|
||||
if (params.equalsIgnoreCase("total_money_earned"))
|
||||
return String.valueOf(AuctionHouse.getInstance().getAuctionStatisticManager().getStatisticByPlayer(player.getUniqueId(), AuctionStatisticType.MONEY_EARNED));
|
||||
|
||||
if (params.equalsIgnoreCase("total_money_spent"))
|
||||
return String.valueOf(AuctionHouse.getInstance().getAuctionStatisticManager().getStatisticByPlayer(player.getUniqueId(), AuctionStatisticType.MONEY_SPENT));
|
||||
|
||||
|
||||
if (params.equalsIgnoreCase("active_auctions")) {
|
||||
AuctionPlayer auctionPlayer = AuctionHouse.getInstance().getAuctionPlayerManager().getPlayer(player.getUniqueId());
|
||||
|
Loading…
Reference in New Issue
Block a user