From 4e90066753c3550b688f1b67dc0db09bce98b950 Mon Sep 17 00:00:00 2001 From: lordpipe Date: Wed, 16 Feb 2022 22:14:01 -0700 Subject: [PATCH] fix small issue with toggling bookmarking --- gradle.properties | 2 +- src/main/java/bookutils/BookUtils.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index caa4ce0..d747da8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/main/java/bookutils/BookUtils.java b/src/main/java/bookutils/BookUtils.java index cc46ddd..df1cd82 100644 --- a/src/main/java/bookutils/BookUtils.java +++ b/src/main/java/bookutils/BookUtils.java @@ -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); } }); }