add todo()'s

This commit is contained in:
Ryder Belserion 2024-09-12 20:14:06 -04:00
parent c9c9cf2880
commit 25420ffbb6
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

@ -120,6 +120,8 @@ public abstract class DynamicInventoryBuilder extends InventoryBuilder {
public void setBiddingItem() { public void setBiddingItem() {
this.auctions.getProperty(AuctionKeys.bidding_item_button).setItem(event -> { this.auctions.getProperty(AuctionKeys.bidding_item_button).setItem(event -> {
setSellingItem(); setSellingItem();
//todo() open selling gui
}, this.gui); }, this.gui);
} }
@ -129,6 +131,8 @@ public abstract class DynamicInventoryBuilder extends InventoryBuilder {
public void setSellingItem() { public void setSellingItem() {
this.auctions.getProperty(AuctionKeys.selling_item_button).setItem(event -> { this.auctions.getProperty(AuctionKeys.selling_item_button).setItem(event -> {
setBiddingItem(); setBiddingItem();
//todo() open bidding gui
}, this.gui); }, this.gui);
} }
} }

View File

@ -39,13 +39,14 @@ public class AuctionMenu extends DynamicInventoryBuilder {
}); });
this.auctions.getProperty(AuctionKeys.expired_item_button).setItem(event -> { this.auctions.getProperty(AuctionKeys.expired_item_button).setItem(event -> {
//todo() open expired gui
}, this.gui); }, this.gui);
// add selling item // add selling item
setSellingItem(); setSellingItem();
this.auctions.getProperty(AuctionKeys.sold_item_button).setItem(event -> { this.auctions.getProperty(AuctionKeys.sold_item_button).setItem(event -> {
//todo() open sold gui
}, this.gui); }, this.gui);
this.gui.open(this.player); this.gui.open(this.player);