From 4f70a32beebe8fbe2948e44934b2c21c69f0d2a7 Mon Sep 17 00:00:00 2001 From: Motschen Date: Sat, 11 Feb 2023 17:23:36 +0100 Subject: [PATCH] Stop game from launching with old Sodium versions --- fabric/src/main/resources/fabric.mod.json | 7 +++++-- quilt/src/main/resources/quilt.mod.json | 6 ++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 791e271..11b0563 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -26,8 +26,11 @@ }, "depends": { - "fabric-resource-loader-v0": "*", - "minecraft": ">=1.16" + "midnightlib": "*", + "minecraft": ">=1.19.3" + }, + "breaks": { + "sodium": "<0.4.9" }, "mixins": [ diff --git a/quilt/src/main/resources/quilt.mod.json b/quilt/src/main/resources/quilt.mod.json index 545cf04..d723c87 100644 --- a/quilt/src/main/resources/quilt.mod.json +++ b/quilt/src/main/resources/quilt.mod.json @@ -38,6 +38,12 @@ "version": "*" } ], + "breaks": [ + { + "id": "sodium", + "versions": "<0.4.9" + } + ], "metadata": { "name": "Cull Leaves (Quilt)", "description": "Adds culling to leaf blocks, providing a huge performance boost over vanilla.",