From d5d880047b7e50f57c6d0d912d09224cc4ff7815 Mon Sep 17 00:00:00 2001 From: Aizistral Date: Sat, 6 Aug 2022 06:21:32 +0200 Subject: This time for sure --- .../aizistral/nochatreports/mixins/client/MixinChatListener.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatListener.java b/src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatListener.java index eda465f..654d44a 100644 --- a/src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatListener.java +++ b/src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatListener.java @@ -44,8 +44,12 @@ public class MixinChatListener { } else { var evaluate = ChatTrustLevel.evaluate(playerChatMessage, component, playerInfo, instant); - if ((evaluate == ChatTrustLevel.NOT_SECURE || evaluate == ChatTrustLevel.BROKEN_CHAIN) - && NoReportsConfig.hideRedChatIndicators()) { + if (evaluate == ChatTrustLevel.BROKEN_CHAIN) { + info.setReturnValue(evaluate); + return; + } + + if (evaluate == ChatTrustLevel.NOT_SECURE && NoReportsConfig.hideRedChatIndicators()) { info.setReturnValue(ChatTrustLevel.SECURE); } else if ((evaluate == ChatTrustLevel.FILTERED || evaluate == ChatTrustLevel.MODIFIED) && NoReportsConfig.hideYellowChatIndicators()) { -- cgit v1.2.3 From 53da0bd90f2768d2268f71674ecee29398f9a7e0 Mon Sep 17 00:00:00 2001 From: Aizistral Date: Sat, 6 Aug 2022 06:25:30 +0200 Subject: Build 1.19.1-v1.8.4 coming right up --- docs/README.md | 2 +- docs/changelog.html | 13 +++++++++++++ gradle.properties | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 4be8a6c..1c402ac 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ # No Chat Reports -**Current Version:** 1.19.1-v1.8.3 +**Current Version:** 1.19.1-v1.8.4 **Minecraft Version:** 1.19.1 diff --git a/docs/changelog.html b/docs/changelog.html index 3863f9f..95d9614 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -1,11 +1,24 @@
+ - Ensured change from previous release works properly.
+
- Re-allowed client to disconnect when chat chain is broken. Yes, this was the "major exploit" kennytv was talking about, or more specifically - unchecked speculation that even if true, would only apply in very limited number of circumstances.
+ - Corrected English and updated German translation (thanks WVam, #121);
+ - Added issue tracker link for ModMenu (thanks MODKILLER1001, #122).
+
- Fixed crash when hovering over "Only Show Secure Chat" option in chat settings (#120).
diff --git a/gradle.properties b/gradle.properties
index 5bdadb5..de782b4 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -9,7 +9,7 @@ yarn_mappings=1.19.1+build.1
loader_version=0.14.8
# Mod Properties
-mod_version=1.19.1-v1.8.3
+mod_version=1.19.1-v1.8.4
maven_group=com.aizistral.nochatreports
archives_base_name=NoChatReports-FABRIC
--
cgit v1.2.3