Improves some hover text
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
This commit is contained in:
@@ -109,7 +109,8 @@ public class PagedBookIndex extends BookIndex {
|
||||
componentBuilder.append(parts[1]).color(ChatColor.WHITE).event(
|
||||
new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/" + command + " author" +
|
||||
BookFormatter.stripColor(parts[1]) + " page1")).event(
|
||||
new HoverEvent(HoverEvent.Action.SHOW_TEXT, new Text("Filter by author")));
|
||||
new HoverEvent(HoverEvent.Action.SHOW_TEXT, new Text("Books by " +
|
||||
BookFormatter.stripColor(parts[1]))));
|
||||
componentBuilder.append("\n");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user