mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-01-10 13:17:36 +01:00
if you cancel the list confirm, bundle items will be returned to you
Took 2 minutes
This commit is contained in:
parent
b33ecceefe
commit
912a0d796f
@ -146,6 +146,7 @@ public final class GUIBundleCreation extends AbstractPlaceholderGui {
|
||||
AuctionHouse.getInstance().getGuiManager().showGUI(e.player, new GUIListingConfirm(e.player, auctionedItem, result -> {
|
||||
if (!result) {
|
||||
e.player.closeInventory();
|
||||
validItems.forEach(item -> PlayerUtils.giveItem(e.player, item));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user