mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-12 10:24:29 +01:00
use ItemBuilder#asGuiItem
This commit is contained in:
parent
7bb33357d8
commit
659fdebe1f
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user