No more weird back buttons.

This commit is contained in:
Brianna O'Keefe 2024-03-30 11:37:43 -05:00
parent 97deb4aa9c
commit d79ee0b94a
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ public class EditorDropsGui extends Gui {
setTitle(spawnerTier.getGuiTitle());
setButton(8, GuiUtils.createButtonItem(ItemUtils.getCustomHead("3ebf907494a935e955bfcadab81beafb90fb9be49c7026ba97d798d5f1a23"),
setButton(8, GuiUtils.createButtonItem(XMaterial.ARROW,
plugin.getLocale().getMessage("general.nametag.back").getMessage()),
(event) -> this.guiManager.showGUI(event.player, back));

View File

@ -97,7 +97,7 @@ public class SpawnerBoostGui extends CustomizableGui {
event -> this.spawner.overview(this.player));
if (this.amount != 1)
setButton("minus1", 0, GuiUtils.createButtonItem(ItemUtils.getCustomHead("3ebf907494a935e955bfcadab81beafb90fb9be49c7026ba97d798d5f1a23"),
setButton("minus1", 0, GuiUtils.createButtonItem(XMaterial.ARROW,
TextUtils.formatText("&6&l-1")), event -> {
this.amount--;
setUp();

View File

@ -147,7 +147,7 @@ public class SpawnerShopItemGui extends CustomizableGui {
setButton("exit", 8, GuiUtils.createButtonItem(Settings.EXIT_ICON.getMaterial(),
this.plugin.getLocale().getMessage("general.nametag.exit").getMessage()), event -> event.player.closeInventory());
setButton("back", 0, GuiUtils.createButtonItem(ItemUtils.getCustomHead("3ebf907494a935e955bfcadab81beafb90fb9be49c7026ba97d798d5f1a23"),
setButton("back", 0, GuiUtils.createButtonItem(XMaterial.ARROW,
this.plugin.getLocale().getMessage("general.nametag.back").getMessage()),
event -> this.guiManager.showGUI(event.player, this.back));