Skip to content

Commit

Permalink
fix small issue with toggling bookmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
lordofpipes committed Feb 17, 2022
1 parent e8c3d7d commit 4e90066
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ yarn_mappings=1.18.1+build.22
loader_version=0.12.12
fabric_version=0.46.2+1.18

mod_version = 1.1.0
mod_version = 1.1.1
maven_group = bookutils
archives_base_name = bookutils
2 changes: 1 addition & 1 deletion src/main/java/bookutils/BookUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void registerKeybinds(ModConfig config) {
config.bookmarking = !config.bookmarking;
AutoConfig.getConfigHolder(ModConfig.class).save();
client.player.sendMessage(
new TranslatableText(config.smallBookGui ? "message.bookutils.enabledBookmarking" : "message.bookutils.disabledBookmarking"), false);
new TranslatableText(config.bookmarking ? "message.bookutils.enabledBookmarking" : "message.bookutils.disabledBookmarking"), false);
}
});
}
Expand Down

0 comments on commit 4e90066

Please sign in to comment.