diff --git a/src/main/java/ca/tweetzy/auctionhouse/guis/AbstractPlaceholderGui.java b/src/main/java/ca/tweetzy/auctionhouse/guis/AbstractPlaceholderGui.java index 03caaee..8b8539b 100644 --- a/src/main/java/ca/tweetzy/auctionhouse/guis/AbstractPlaceholderGui.java +++ b/src/main/java/ca/tweetzy/auctionhouse/guis/AbstractPlaceholderGui.java @@ -64,7 +64,7 @@ public abstract class AbstractPlaceholderGui extends Gui { } protected ItemStack getRefreshButtonItem() { - return ConfigurationItemHelper.createConfigurationItem(Settings.GUI_NEXT_BTN_ITEM.getString(), Settings.GUI_NEXT_BTN_NAME.getString(), Settings.GUI_NEXT_BTN_LORE.getStringList(), null); + return ConfigurationItemHelper.createConfigurationItem(Settings.GUI_REFRESH_BTN_ITEM.getString(), Settings.GUI_REFRESH_BTN_NAME.getString(), Settings.GUI_REFRESH_BTN_LORE.getStringList(), null); } protected ItemStack getCloseButtonItem() { diff --git a/src/main/java/ca/tweetzy/auctionhouse/guis/statistics/GUIStatisticViewSelect.java b/src/main/java/ca/tweetzy/auctionhouse/guis/statistics/GUIStatisticViewSelect.java index 3bcd4cd..b93d3f5 100644 --- a/src/main/java/ca/tweetzy/auctionhouse/guis/statistics/GUIStatisticViewSelect.java +++ b/src/main/java/ca/tweetzy/auctionhouse/guis/statistics/GUIStatisticViewSelect.java @@ -34,7 +34,7 @@ public final class GUIStatisticViewSelect extends AbstractPlaceholderGui { super(player); this.auctionPlayer = player; setTitle(Settings.GUI_STATS_VIEW_SELECT_TITLE.getString()); - getConfirmBuyNoItem()(ConfigurationItemHelper.createConfigurationItem(Settings.GUI_STATS_VIEW_SELECT_BG_ITEM.getString())); + setDefaultItem(ConfigurationItemHelper.createConfigurationItem(Settings.GUI_STATS_VIEW_SELECT_BG_ITEM.getString())); setUseLockedCells(true); setAcceptsItems(false); setAllowDrops(false); diff --git a/src/main/java/ca/tweetzy/auctionhouse/guis/transaction/GUITransactionView.java b/src/main/java/ca/tweetzy/auctionhouse/guis/transaction/GUITransactionView.java index 57ca036..525f448 100644 --- a/src/main/java/ca/tweetzy/auctionhouse/guis/transaction/GUITransactionView.java +++ b/src/main/java/ca/tweetzy/auctionhouse/guis/transaction/GUITransactionView.java @@ -46,7 +46,7 @@ public class GUITransactionView extends AbstractPlaceholderGui { setTitle(TextUtils.formatText(Settings.GUI_TRANSACTION_VIEW_TITLE.getString())); setRows(6); setAcceptsItems(false); - getConfirmBuyNoItem()(ConfigurationItemHelper.createConfigurationItem(Settings.GUI_TRANSACTION_VIEW_BACKGROUND_ITEM.getString())); + setDefaultItem(ConfigurationItemHelper.createConfigurationItem(Settings.GUI_TRANSACTION_VIEW_BACKGROUND_ITEM.getString())); setUseLockedCells(Settings.GUI_TRANSACTION_VIEW_BACKGROUND_FILL.getBoolean()); setButton(5, 0, ConfigurationItemHelper.createConfigurationItem(Settings.GUI_CLOSE_BTN_ITEM.getString(), Settings.GUI_CLOSE_BTN_NAME.getString(), Settings.GUI_CLOSE_BTN_LORE.getStringList(), null), e -> e.manager.showGUI(e.player, new GUITransactionList(auctionPlayer.getPlayer(), showAll)));