summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/CHANGELOG.md14
-rw-r--r--forge/build.gradle6
-rw-r--r--gradle.properties3
-rw-r--r--neoforge/build.gradle6
-rw-r--r--src/main/java/com/aizistral/nochatreports/common/mixins/common/MixinJsonByteBufCodec.java3
5 files changed, 24 insertions, 8 deletions
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 1ae2c22..6c5042a 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -1,3 +1,17 @@
+#### **\[Build MC26.2-v2.20.3\]:**
+
+- Moved `enableMod` option from `NCR-Client.json` to `NCR-Common.json`, so it can now be used on dedicated servers as well; previous value of the option is not carried over;
+- Changing `enableMod` now only takes effect after the game is restarted, and disabling the mod suppresses all of its functionality, including most mixins;
+- Removed config reload button from multiplayer menu, since config files are now only read at startup;
+- Fixed state of the mod toggle button not being saved ([#496](https://github.com/Aizistral-Studios/No-Chat-Reports/issues/496));
+- Fixed messages sometimes failing to send with "On Demand" signing mode ([#539](https://github.com/Aizistral-Studios/No-Chat-Reports/issues/539));
+- Fixed "Safe Server" icon sometimes being displayed for servers that do not have the mod installed;
+- Fixed "Don't show again" choice in Realms warning screen not being saved;
+- Fixed `logoFile` deprecation warning in startup logs on NeoForge;
+- Removed stale encryption-related strings from translations;
+- Redesigned some GUI textures;
+- Removed Italian translation.
+
#### **\[Build 26.2-v2.20.2\]:**
- Fixed server ping crash ([#556](https://github.com/Aizistral-Studios/No-Chat-Reports/issues/556)).
diff --git a/forge/build.gradle b/forge/build.gradle
index ad6d482..58af971 100644
--- a/forge/build.gradle
+++ b/forge/build.gradle
@@ -92,9 +92,9 @@ jar {
attributes([
"Specification-Title": "${mod_name}",
"Specification-Vendor": "${mod_author}",
- "Specification-Version": "${version}",
+ "Specification-Version": "${manifest_version}",
"Implementation-Title": "${mod_name}",
- "Implementation-Version": "${version}",
+ "Implementation-Version": "${manifest_version}",
"Implementation-Vendor" :"${mod_author}",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"MixinConfigs": "mixins/common/nochatreports.mixins.json, mixins/forge/nochatreports-forge.mixins.json"
@@ -113,7 +113,7 @@ processResources {
// Replace properties in mods.toml with ones derived from settings.gradle
include 'mods.toml'
expand 'mod_license': mod_license,
- 'mod_version': version,
+ 'mod_version': manifest_version,
'mod_id' : mod_id,
'mod_name': mod_name,
'mod_url': mod_url,
diff --git a/gradle.properties b/gradle.properties
index 1dd9949..3b688cd 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -12,7 +12,8 @@ neoforge_version=26.2.0.95
neogradle.subsystems.tools.jst=net.neoforged.jst:jst-cli-bundle:2.0.11
# Mod Properties
-mod_version=26.2-v2.20.2
+mod_version=MC26.2-v2.20.3
+manifest_version=26.2-v2.20.3
maven_group=com.aizistral.nochatreports
archives_base_name=NoChatReports-FABRIC
mod_id=nochatreports
diff --git a/neoforge/build.gradle b/neoforge/build.gradle
index eeceb43..1559181 100644
--- a/neoforge/build.gradle
+++ b/neoforge/build.gradle
@@ -86,9 +86,9 @@ jar {
attributes([
"Specification-Title": "${mod_name}",
"Specification-Vendor": "${mod_author}",
- "Specification-Version": "${version}",
+ "Specification-Version": "${manifest_version}",
"Implementation-Title": "${mod_name}",
- "Implementation-Version": "${version}",
+ "Implementation-Version": "${manifest_version}",
"Implementation-Vendor" :"${mod_author}",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
])
@@ -106,7 +106,7 @@ processResources {
// Replace properties in mods.toml with ones derived from settings.gradle
include 'neoforge.mods.toml'
expand 'mod_license': mod_license,
- 'mod_version': version,
+ 'mod_version': manifest_version,
'mod_id' : mod_id,
'mod_name': mod_name,
'mod_url': mod_url,
diff --git a/src/main/java/com/aizistral/nochatreports/common/mixins/common/MixinJsonByteBufCodec.java b/src/main/java/com/aizistral/nochatreports/common/mixins/common/MixinJsonByteBufCodec.java
index 9dc2e28..a0e625d 100644
--- a/src/main/java/com/aizistral/nochatreports/common/mixins/common/MixinJsonByteBufCodec.java
+++ b/src/main/java/com/aizistral/nochatreports/common/mixins/common/MixinJsonByteBufCodec.java
@@ -54,9 +54,10 @@ public class MixinJsonByteBufCodec {
@Inject(method = "decode(Lio/netty/buffer/ByteBuf;)Lcom/google/gson/JsonElement;", at = @At("RETURN"), cancellable = true)
private void onDecode(ByteBuf buf, CallbackInfoReturnable<JsonElement> info) {
try {
+ ServerStatusCache.setPreventsReports(false);
JsonElement element = info.getReturnValue();
- if (!this.isServerStatusElement(element))
+ if (!element.isJsonObject())
return;
JsonObject object = element.getAsJsonObject();