diff options
| author | CraftingDragon007 | 2022-08-07 11:28:47 +0200 |
|---|---|---|
| committer | CraftingDragon007 | 2022-08-07 11:28:47 +0200 |
| commit | 8bcf4cb72b745e88ed7d4b421e50fa035b70ce47 (patch) | |
| tree | a2fe9fed59011b9f6dfc72b913a6e2ec92b49787 | |
| parent | 041e6ca18241135af3f79f2c5db726593c57ab80 (diff) | |
Updated to 1.19.2
| -rw-r--r-- | build.gradle | 4 | ||||
| -rw-r--r-- | docs/README.md | 4 | ||||
| -rw-r--r-- | docs/changelog.html | 5 | ||||
| -rw-r--r-- | gradle.properties | 10 | ||||
| -rw-r--r-- | src/main/java/com/aizistral/nochatreports/mixins/client/MixinProfileKeyPairManager.java | 10 | ||||
| -rw-r--r-- | 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 @@ <h3><b>The Changelog:</b></h3><br/> +<h5><b>[Release 1.19.2-v1.8.5]:</b></h5> +<p> + - Updated Mod to 1.19.2.<br/> +<p/><br/><br/> + <h5><b>[Release 1.19.1-v1.8.4]:</b></h5> <p> - Ensured change from previous release works properly.<br/> 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<Optional<ProfilePublicKey.Data>> info) { + @Inject(method = "parsePublicKey", at = @At("HEAD"), cancellable = true) + private static void onProfilePublicKeyData(CallbackInfoReturnable<Optional<ProfilePublicKey.Data>> info) { if (!ServerSafetyState.allowsUnsafeServer()) { - info.setReturnValue(Optional.empty()); + info.setReturnValue(null); } } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index f1fbb09..5583bf3 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -31,9 +31,9 @@ ], "depends": { - "fabricloader": ">=0.14.6", + "fabricloader": ">=0.14.9", "fabric": "*", - "minecraft": "=1.19.1", + "minecraft": "=1.19.2", "java": ">=17" }, "suggests": {}, |
