mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-14 11:21:26 +01:00
Catalog: rather send the user to the releases tab instead of the latest release
This commit is contained in:
parent
ad5aa4a938
commit
870bdcb9f8
@ -93,9 +93,9 @@ public class CatalogPanel {
|
|||||||
"[install]", install,
|
"[install]", install,
|
||||||
"[description]", "WIP"));
|
"[description]", "WIP"));
|
||||||
|
|
||||||
// Set the link to the latest release
|
// Send the link to the releases tab on click
|
||||||
itemBuilder.clickHandler((panel, user1, clickType, slot) -> {
|
itemBuilder.clickHandler((panel, user1, clickType, slot) -> {
|
||||||
user1.sendRawMessage(ChatColor.GRAY + "" + ChatColor.ITALIC + "https://github.com/" + addon.getRepository() + "/releases/latest");
|
user1.sendRawMessage(ChatColor.GRAY + "" + ChatColor.ITALIC + "https://github.com/" + addon.getRepository() + "/releases");
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user