Fixes wrong color on the inactive next button
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:
@@ -173,7 +173,7 @@ public final class BookFileHelper {
|
||||
ClickEvent nextPageClick = new ClickEvent(ClickEvent.Action.RUN_COMMAND, command + " page" + (page + 1));
|
||||
nextComponent.append("Next [>]").event(nextPagePreview).event(nextPageClick);
|
||||
} else {
|
||||
nextComponent.append("Next [>]").color(ChatColor.GRAY).reset();
|
||||
nextComponent.append("Next [>]").color(ChatColor.GRAY);
|
||||
}
|
||||
sender.spigot().sendMessage(nextComponent.create());
|
||||
}
|
||||
|
Reference in New Issue
Block a user