Skip to content

Commit

Permalink
feat: add text helper to entry provider
Browse files Browse the repository at this point in the history
  • Loading branch information
klikli-dev committed Jan 8, 2024
1 parent f581842 commit e7ac009
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,15 @@ protected void pageTitle(String title) {
/**
* Adds a page text for the current context to the underlying language provider.
*/
protected void pageText(String title) {
this.add(this.context().pageText(), title);
protected void pageText(String text) {
this.add(this.context().pageText(), text);
}

/**
* Adds a page text for the current context to the underlying language provider.
*/
protected void pageText(String text, Object... args){
this.add(this.context().pageText(), text, args);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ group=com.klikli_dev
mod_id=modonomicon
mod_name=Modonomicon
mod_license=MIT AND CC-BY-4.0
mod_version=1.41.0
mod_version=1.48.0
mod_authors=Kli Kli
mod_description=Data-driven minecraft in-game documentation with progress visualization.

Expand Down

0 comments on commit e7ac009

Please sign in to comment.