Skip to content

Commit

Permalink
Better formatting for the help system - temporary - will remove hard …
Browse files Browse the repository at this point in the history
…coded messages soon
  • Loading branch information
lokka30 committed Jan 5, 2023
1 parent d0a7d5d commit ca06499
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bukkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<parent>
<artifactId>arcaneframework-parent</artifactId>
<groupId>io.github.arcaneplugins.arcaneframework</groupId>
<version>0.2.3</version>
<version>0.2.4</version>
</parent>
<dependencies>
<!--suppress VulnerableLibrariesLocal -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ public Chapter(
final int index
) {
return """
------- LM Help: %s -------
&8&m-------&7 LM Help: &b&n%s&8 &m-------&r
%s
&r%s&r
------- (««) Page %s of %s (»») -------"""
&8&m-------&8 (&b&l««&8)&r &7Page %s of %s&8 (&b&l»»&8) &m-------&r"""
.formatted(
getBreadcrumbs(),

Expand All @@ -71,9 +71,9 @@ public void addPages(

final Consumer<Chapter> consumer = chapter -> {
if(reversedBreadcrumb.isEmpty()) {
reversedBreadcrumb.add(chapter.getId());
reversedBreadcrumb.add("&b&n" + chapter.getId());
} else {
reversedBreadcrumb.add(chapter.getId() + " « ");
reversedBreadcrumb.add("&b&n" + chapter.getId() + "&8 « ");
}
};

Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<parent>
<artifactId>arcaneframework-parent</artifactId>
<groupId>io.github.arcaneplugins.arcaneframework</groupId>
<version>0.2.3</version>
<version>0.2.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.

<groupId>io.github.arcaneplugins.arcaneframework</groupId>
<artifactId>arcaneframework-parent</artifactId>
<version>0.2.3</version>
<version>0.2.4</version>
<modules>
<module>bukkit</module>
<module>core</module>
Expand Down

0 comments on commit ca06499

Please sign in to comment.