mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-14 04:05:44 +01:00
🔨 fixed cancel confirm not returning item
Took 20 seconds
This commit is contained in:
parent
070a38e1e3
commit
c671ca9255
@ -93,9 +93,8 @@ public final class GUIListingConfirm extends AbstractPlaceholderGui {
|
||||
|
||||
setAllowClose(true);
|
||||
final AuctionPlayer auctionPlayer = AuctionHouse.getInstance().getAuctionPlayerManager().getPlayer(e.player.getUniqueId());
|
||||
auctionPlayer.setItemBeingListed(XMaterial.AIR.parseItem());
|
||||
|
||||
this.result.accept(false);
|
||||
auctionPlayer.setItemBeingListed(XMaterial.AIR.parseItem());
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user