mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-01-09 13:07:41 +01:00
stat manager takes an OfflinePlayer instead
Took 17 seconds
This commit is contained in:
parent
4335fa75df
commit
c038dc2c5c
@ -35,7 +35,7 @@ public final class AuctionStatManager {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public AuctionStat<Integer, Integer, Integer, Double, Double> getPlayerStats(final Player player) {
|
public AuctionStat<Integer, Integer, Integer, Double, Double> getPlayerStats(final OfflinePlayer player) {
|
||||||
return this.stats.getOrDefault(player.getUniqueId(), new AuctionStat<>(0, 0, 0, 0D, 0D));
|
return this.stats.getOrDefault(player.getUniqueId(), new AuctionStat<>(0, 0, 0, 0D, 0D));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user