use ItemBuilder#asGuiItem

This commit is contained in:
Ryder Belserion 2024-09-17 16:10:22 -04:00
parent 7bb33357d8
commit 659fdebe1f
No known key found for this signature in database

View File

@ -120,7 +120,7 @@ public class AuctionMenu extends DynamicInventoryBuilder {
itemBuilder.addLorePlaceholder("%price%", Methods.getPrice(key, true)).addLorePlaceholder("%time%", Methods.convertToTime(auction.getLong("Full-Time")));
this.gui.addItem(itemBuilder.setAmount(5).asGuiItem());
this.gui.addItem(itemBuilder.asGuiItem());
});
this.menus.add("sold_gui");