1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-16 13:11:19 +01:00

Info button

This commit is contained in:
Zrips 2022-11-15 17:25:01 +02:00
parent 31fc886b2c
commit 30c06bb476
2 changed files with 3 additions and 1 deletions

View File

@ -209,7 +209,8 @@ public class GuiManager {
ItemStack next = Jobs.getGCManager().guiInfoButton;
ItemMeta meta = next.getItemMeta();
meta.setDisplayName(LC.info_nextPageHover.getLocale());
meta.setDisplayName(" ");
meta.setLore(Jobs.getLanguage().getMessageList("command.info.gui.infoLore"));
next.setItemMeta(meta);
gui.addButton(new CMIGuiButton(Jobs.getGCManager().InfoButtonSlot - 1, next) {

View File

@ -357,6 +357,7 @@ public class LanguageManager {
c.get("command.info.gui.working", "&2&nAlready working");
c.get("command.info.gui.cantJoin", "&cYou can't join to the selected job.");
c.get("command.info.gui.max", "&eMax level:&f ");
c.get("command.info.gui.infoLore", Arrays.asList("&7Close"));
c.get("command.info.output.break.info", "&eBreak");
c.get("command.info.output.break.none", "%jobname% does not get money for breaking blocks.");