mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-07 17:07:36 +01:00
Removed the check for updates button in the Management Panel
It needs the update checker to be implemented first
This commit is contained in:
parent
2bc0b824a6
commit
5fc39b3691
@ -25,7 +25,7 @@ import world.bentobox.bentobox.versions.ServerCompatibility;
|
||||
public class ManagementPanel {
|
||||
|
||||
private static final String LOCALE_REF = "management.panel.";
|
||||
private static final int[] PANES = {0, 4, 8, 9, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44};
|
||||
private static final int[] PANES = {0, 4, 5, 8, 9, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44};
|
||||
|
||||
private ManagementPanel() {}
|
||||
|
||||
@ -184,17 +184,6 @@ public class ManagementPanel {
|
||||
builder.item(2, addonsIconBuilder.build());
|
||||
builder.item(3, hooksIconBuilder.build());
|
||||
|
||||
// Global action buttons
|
||||
PanelItem checkUpdatesItem = new PanelItemBuilder()
|
||||
.icon(Material.OBSERVER)
|
||||
.name(user.getTranslation(LOCALE_REF + "actions.check-updates.name"))
|
||||
.description(user.getTranslation(LOCALE_REF + "actions.check-updates.description"))
|
||||
.clickHandler((panel, user1, clickType, slot) -> {
|
||||
user1.sendRawMessage("checking for updates (not implemented yet)");
|
||||
return true;
|
||||
})
|
||||
.build();
|
||||
|
||||
PanelItem reloadItem = new PanelItemBuilder()
|
||||
.icon(Material.REDSTONE_TORCH)
|
||||
.name(user.getTranslation(LOCALE_REF + "actions.reload.name"))
|
||||
@ -205,7 +194,6 @@ public class ManagementPanel {
|
||||
})
|
||||
.build();
|
||||
|
||||
builder.item(5, checkUpdatesItem);
|
||||
builder.item(6, reloadItem);
|
||||
|
||||
// BentoBox state icon
|
||||
|
@ -1075,9 +1075,6 @@ management:
|
||||
name: "&6Hooks"
|
||||
description: "&eClick &ato display currently loaded Hooks"
|
||||
actions:
|
||||
check-updates:
|
||||
name: "&6Check for updates"
|
||||
description: "&eClick &ato check for updates"
|
||||
reload:
|
||||
name: "&cReload"
|
||||
description: "&eClick &c<wice &r&ato reload BentoBox"
|
||||
|
@ -969,9 +969,6 @@ management:
|
||||
name: "&6Ganchos"
|
||||
description: "&eClick &apara mostrar los ganchos cargados actualmente"
|
||||
actions:
|
||||
check-updates:
|
||||
name: "&6Buscar actualizaciones"
|
||||
description: "&eClick &apara buscar actualizaciones"
|
||||
reload:
|
||||
name: "&cReload"
|
||||
description: "&eClick &c&ldoble &r&apara recargar BentoBox"
|
||||
|
@ -1070,9 +1070,6 @@ management:
|
||||
name: "&6Hooks"
|
||||
description: "&eClicca &aper mostrare gli Hooks caricati al momento"
|
||||
actions:
|
||||
check-updates:
|
||||
name: "&6Controlla aggiornamenti"
|
||||
description: "&eClicca &aper controllare gli aggiornamenti"
|
||||
reload:
|
||||
name: "&cRicarica"
|
||||
description: "&eClicca &c&ldue volte &r&aper ricaricare BentoBox"
|
||||
|
@ -1115,9 +1115,6 @@ management:
|
||||
name: "&6Iestapinājumi"
|
||||
description: "&eUzspied&a, lai redzētu uzstādītos iestapinājumus."
|
||||
actions:
|
||||
check-updates:
|
||||
name: "&6Pārbaudīt atjauninājumus"
|
||||
description: "&eUzspied&a, lai pārbaudītu vai ir pieejami atjauninājumi."
|
||||
reload:
|
||||
name: "&cPārlādēt"
|
||||
description: "&eUzspied &c&ldivreiz&r&a, lai pārlādētu BentoBox"
|
||||
|
Loading…
Reference in New Issue
Block a user