🔨 fixed cancel confirm not returning item

Took 20 seconds
This commit is contained in:
Kiran Hart 2024-02-25 14:59:31 -05:00
parent 070a38e1e3
commit c671ca9255

View File

@ -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());
});