From 8bcf4cb72b745e88ed7d4b421e50fa035b70ce47 Mon Sep 17 00:00:00 2001 From: CraftingDragon007 Date: Sun, 7 Aug 2022 11:28:47 +0200 Subject: Updated to 1.19.2 --- build.gradle | 4 ++-- docs/README.md | 4 ++-- docs/changelog.html | 5 +++++ gradle.properties | 10 +++++----- .../mixins/client/MixinProfileKeyPairManager.java | 10 ++++------ src/main/resources/fabric.mod.json | 4 ++-- 6 files changed, 20 insertions(+), 17 deletions(-) diff --git a/build.gradle b/build.gradle index 514e73d..8b4103f 100644 --- a/build.gradle +++ b/build.gradle @@ -80,7 +80,7 @@ curseforge { changelog = file('docs/changelog.html') mainArtifact(remapJar) - addGameVersion '1.19.1' + addGameVersion '1.19.2' addGameVersion 'Fabric' addGameVersion 'Quilt' addGameVersion 'Java 17' @@ -111,7 +111,7 @@ modrinth { versionType = "release" changelog = rootProject.file("docs/changelog.html").text uploadFile = remapJar - gameVersions = ["1.19.1"] + gameVersions = ["1.19.2"] loaders = ['fabric', 'quilt'] dependencies { diff --git a/docs/README.md b/docs/README.md index 1c402ac..d14e1fb 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,8 +1,8 @@ # No Chat Reports -**Current Version:** 1.19.1-v1.8.4 +**Current Version:** 1.19.2-v1.8.5 -**Minecraft Version:** 1.19.1 +**Minecraft Version:** 1.19.2 Strips cryptographic signatures from player messages, making it impossible to track and associate them with your Mojang/Microsoft account, as well as use Player Chat Reporting feature. diff --git a/docs/changelog.html b/docs/changelog.html index 95d9614..babd58b 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -1,5 +1,10 @@
+ - Updated Mod to 1.19.2.
+
- Ensured change from previous release works properly.
diff --git a/gradle.properties b/gradle.properties
index de782b4..0456626 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -4,17 +4,17 @@ org.gradle.daemon=false
# Fabric Properties
# check these on https://fabricmc.net/develop
-minecraft_version=1.19.1
-yarn_mappings=1.19.1+build.1
-loader_version=0.14.8
+minecraft_version=1.19.2
+yarn_mappings=1.19.2+build.1
+loader_version=0.14.9
# Mod Properties
-mod_version=1.19.1-v1.8.4
+mod_version=1.19.2-v1.8.5
maven_group=com.aizistral.nochatreports
archives_base_name=NoChatReports-FABRIC
# Dependencies
-fabric_version=0.58.4+1.19.1
+fabric_version=0.59.0+1.19.2
# Publishing
curse_id=634062
diff --git a/src/main/java/com/aizistral/nochatreports/mixins/client/MixinProfileKeyPairManager.java b/src/main/java/com/aizistral/nochatreports/mixins/client/MixinProfileKeyPairManager.java
index e1dc8f2..70fa9fa 100644
--- a/src/main/java/com/aizistral/nochatreports/mixins/client/MixinProfileKeyPairManager.java
+++ b/src/main/java/com/aizistral/nochatreports/mixins/client/MixinProfileKeyPairManager.java
@@ -1,5 +1,6 @@
package com.aizistral.nochatreports.mixins.client;
+import com.aizistral.nochatreports.core.ServerSafetyState;
import net.minecraft.client.multiplayer.ClientHandshakePacketListenerImpl;
import net.minecraft.client.multiplayer.ProfileKeyPairManager;
import net.minecraft.util.Signer;
@@ -9,9 +10,6 @@ import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
-import com.aizistral.nochatreports.NoChatReports;
-import com.aizistral.nochatreports.core.ServerSafetyState;
-
import java.util.Optional;
@Mixin(ProfileKeyPairManager.class)
@@ -36,10 +34,10 @@ public class MixinProfileKeyPairManager {
* @author Aizistral
*/
- @Inject(method = "profilePublicKeyData", at = @At("HEAD"), cancellable = true)
- private void onProfilePublicKeyData(CallbackInfoReturnable