mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 13:36:06 +01:00
Add missing tooltips to the CommonPagedPanel
This commit is contained in:
parent
23fc5310b3
commit
8c9ddb189d
@ -130,6 +130,9 @@ public abstract class CommonPagedPanel extends CommonPanel
|
||||
description.add(this.user.getTranslation(reference + "description",
|
||||
Constants.PARAMETER_NUMBER, String.valueOf(this.pageIndex + 2)));
|
||||
|
||||
description.add("");
|
||||
description.add(this.user.getTranslation(Constants.TIPS + "click-to-next"));
|
||||
|
||||
icon = new ItemStack(Material.OAK_SIGN, this.pageIndex + 2);
|
||||
clickHandler = (panel, user, clickType, slot) ->
|
||||
{
|
||||
@ -143,6 +146,9 @@ public abstract class CommonPagedPanel extends CommonPanel
|
||||
description.add(this.user.getTranslation(reference + "description",
|
||||
Constants.PARAMETER_NUMBER, String.valueOf(this.pageIndex)));
|
||||
|
||||
description.add("");
|
||||
description.add(this.user.getTranslation(Constants.TIPS + "click-to-previous"));
|
||||
|
||||
icon = new ItemStack(Material.OAK_SIGN, Math.max(1, this.pageIndex));
|
||||
clickHandler = (panel, user, clickType, slot) ->
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user