From f506d5ac652a000f24ed418ef976b9a045ff8253 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Wed, 18 Oct 2023 12:09:59 +0200 Subject: [PATCH] Fix missing networking-api-v1 on 1.16.4/5 We recently bumped the fabric-api version there, and newer versions of the v0 api just delegate to the v1 one now, so we need to include that there as well. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 5337e60a..f0661b4e 100644 --- a/build.gradle +++ b/build.gradle @@ -312,10 +312,10 @@ dependencies { } if (mcVersion >= 11604) { fabricApiModules.add("screen-api-v1") + fabricApiModules.add("networking-api-v1") } if (mcVersion >= 11700) { fabricApiModules.remove("networking-v0") - fabricApiModules.add("networking-api-v1") } fabricApiModules.each { module -> modImplementation fabricApi.module("fabric-$module", fabricApiVersion)