mirror of
https://github.com/craftaro/EpicSpawners.git
synced 2025-01-07 03:07:06 +08:00
No more weird back buttons.
This commit is contained in:
parent
97deb4aa9c
commit
d79ee0b94a
@ -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));
|
||||
|
||||
|
@ -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();
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user