Skip to content

Commit

Permalink
feat: allow broken links in dictionary of spirits (makes translations…
Browse files Browse the repository at this point in the history
… more flexible)
  • Loading branch information
klikli-dev committed Sep 9, 2024
1 parent f775d8b commit dc4a0de
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ minecraft {
sourceSets.main.resources { srcDir 'src/generated/resources' }

repositories {
mavenLocal()
maven {
url "https://dl.cloudsmith.io/public/klikli-dev/mods/maven/"
content {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ smartbrainlib_version=1.11
smartbrainlib_version_range=[1.11,)
almost_unified_version=0.5.0
almost_unified_version_range=[0.5.0,)
modonomicon_version=1.67.0
modonomicon_version=1.76.0
modonomicon_version_range=[1.60.0,)
theurgy_version=1.17.1
theurgy_version_range=[1.17.1,)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"allow_open_book_with_invalid_links": true,
"auto_add_read_conditions": true,
"book_content_texture": "modonomicon:textures/gui/book_content.png",
"book_overview_texture": "modonomicon:textures/gui/book_overview.png",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ protected BookModel generateBook() {
.withCraftingTexture(this.modLoc("textures/gui/book/crafting_textures.png"))
.withGenerateBookItem(false)
.withCustomBookItem(this.modLoc("dictionary_of_spirits"))
.withAutoAddReadConditions(true);
.withAutoAddReadConditions(true)
.withAllowOpenBooksWithInvalidLinks(true)
;
return demoBook;
}

Expand Down

0 comments on commit dc4a0de

Please sign in to comment.