summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/README.md2
-rw-r--r--docs/changelog.html13
-rw-r--r--gradle.properties2
-rw-r--r--src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatListener.java8
4 files changed, 21 insertions, 4 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 @@
<h3><b>The Changelog:</b></h3><br/>
+<h5><b>[Release 1.19.1-v1.8.4]:</b></h5>
+<p>
+&nbsp;- Ensured change from previous release works properly.<br/>
+<p/><br/><br/>
+
+
<h5><b>[Release 1.19.1-v1.8.3]:</b></h5>
<p>
&nbsp;- 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.<br/>
<p/><br/><br/>
+<h5><b>[Release 1.19.1-v1.8.2]:</b></h5>
+<p>
+&nbsp;- Corrected English and updated German translation (<a href="https://github.com/Aizistral-Studios/No-Chat-Reports/pull/121">thanks WVam, #121</a>);<br/>
+&nbsp;- Added issue tracker link for ModMenu (<a href="https://github.com/Aizistral-Studios/No-Chat-Reports/pull/122">thanks MODKILLER1001, #122</a>).<br/>
+<p/><br/><br/>
+
+
<h5><b>[Release 1.19.1-v1.8.1]:</b></h5>
<p>
&nbsp;- Fixed crash when hovering over "Only Show Secure Chat" option in chat settings (<a href="https://github.com/Aizistral-Studios/No-Chat-Reports/issues/120">#120</a>).<br/>
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
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()) {