🧹 Fixed some global replacement errors

Took 1 minute
This commit is contained in:
Kiran Hart 2023-01-07 16:35:46 -05:00
parent 8c8ffe3914
commit 4616ad5cb9
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3
3 changed files with 3 additions and 3 deletions

View File

@ -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() {

View File

@ -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);

View File

@ -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)));