diff options
| author | MODKILLER1OO1 | 2022-08-06 11:20:30 -0400 |
|---|---|---|
| committer | GitHub | 2022-08-06 11:20:30 -0400 |
| commit | 7c920ffffff1bc68519913ed521cddabf7fe412a (patch) | |
| tree | 8c17c22254b6f65417d8682431e12fa401f8dd43 | |
| parent | 593d22c0ba7df02674f87ae16c7d7066afe18abe (diff) | |
| parent | 53da0bd90f2768d2268f71674ecee29398f9a7e0 (diff) | |
Merge branch 'Aizistral-Studios:1.19.1-Fabric' into 1.19.1-ModMenu-Cloth
| -rw-r--r-- | docs/README.md | 2 | ||||
| -rw-r--r-- | docs/changelog.html | 13 | ||||
| -rw-r--r-- | gradle.properties | 2 | ||||
| -rw-r--r-- | src/main/java/com/aizistral/nochatreports/mixins/client/MixinChatListener.java | 8 |
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> + - Ensured change from previous release works properly.<br/> +<p/><br/><br/> + + <h5><b>[Release 1.19.1-v1.8.3]:</b></h5> <p> - 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> + - Corrected English and updated German translation (<a href="https://github.com/Aizistral-Studios/No-Chat-Reports/pull/121">thanks WVam, #121</a>);<br/> + - 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> - 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()) { |
