Update to 1.20.6

This commit is contained in:
2024-05-05 08:43:49 +02:00
parent 5918002c97
commit 963640810d
4 changed files with 14 additions and 12 deletions

View File

@@ -1,6 +1,7 @@
package systems.brn.chatencryptor;
import com.mojang.authlib.GameProfile;
import com.mojang.brigadier.Message;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents;
import net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents;
@@ -45,6 +46,7 @@ public class SecureChat implements ClientModInitializer {
}
catch (IllegalBlockSizeException | BadPaddingException | NoSuchAlgorithmException | NoSuchPaddingException | InvalidAlgorithmParameterException |
InvalidKeyException e){
MinecraftClient.getInstance().inGameHud.getChatHud().addMessage(Text.of((Message) e));
return true;
}
}

View File

@@ -24,9 +24,9 @@
},
"depends": {
"fabricloader": ">=${loader_version}",
"fabric": "*",
"minecraft": "${minecraft_version}",
"yet_another_config_lib_v3": "3.3.2+1.20.4",
"modmenu": "9.1.0-beta.1"
"fabric": "0.97.8+1.20.6",
"minecraft": ">=${minecraft_version}",
"yet_another_config_lib_v3": "3.4.2+1.20.5-fabric",
"modmenu": "10.0.0-beta.1"
}
}