Skip to content

Commit

Permalink
fix: remove text instruction from pages that do not have text
Browse files Browse the repository at this point in the history
Closes #1009
  • Loading branch information
klikli-dev committed Dec 11, 2023
1 parent adb151e commit ee6f59a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@
"type": "occultism:spirit_fire_recipe",
"anchor": "",
"recipe_id_1": "occultism:spirit_fire/otherworld_ashes",
"text": "book.occultism.dictionary_of_spirits.getting_started.spirit_fire.otherworld_ashes_recipe.text",
"text": "",
"title1": "",
"title2": ""
},
{
"type": "occultism:spirit_fire_recipe",
"anchor": "",
"recipe_id_1": "occultism:spirit_fire/spirit_attuned_gem",
"text": "book.occultism.dictionary_of_spirits.getting_started.spirit_fire.gem_recipe.text",
"text": "",
"title1": "",
"title2": ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,13 +364,11 @@ private BookEntryModel.Builder makeSpiritFireEntry(BookLangHelper helper, EntryL
helper.page("otherworld_ashes_recipe");
var otherworldAshesRecipe = BookSpiritFireRecipePageModel.builder()
.withRecipeId1(this.modLoc("spirit_fire/otherworld_ashes"))
.withText(helper.pageText())
.build();

helper.page("gem_recipe");
var gemRecipe = BookSpiritFireRecipePageModel.builder()
.withRecipeId1(this.modLoc("spirit_fire/spirit_attuned_gem"))
.withText(helper.pageText())
.build();

return BookEntryModel.builder()
Expand Down

0 comments on commit ee6f59a

Please sign in to comment.