mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-02-09 18:11:31 +01:00
don't remove cooldown for user on quit
Took 1 minute
This commit is contained in:
parent
88b494caac
commit
195f56818c
@ -56,7 +56,8 @@ public class PlayerListeners implements Listener {
|
||||
public void onPlayerQuit(PlayerQuitEvent e) {
|
||||
Player player = e.getPlayer();
|
||||
AuctionHouse.getInstance().getAuctionPlayerManager().removePlayer(player.getUniqueId());
|
||||
AuctionHouse.getInstance().getAuctionPlayerManager().getCooldowns().remove(player.getUniqueId());
|
||||
//todo maybe add this back if it messes up stuff
|
||||
// AuctionHouse.getInstance().getAuctionPlayerManager().getCooldowns().remove(player.getUniqueId());
|
||||
AuctionHouse.getInstance().getAuctionPlayerManager().getSellHolding().remove(player.getUniqueId());
|
||||
AuctionHouse.getInstance().getLogger().info("Removing Instances for user: " + player.getName());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user