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.
This commit is contained in:
Jonas Herzig
2023-10-18 12:09:59 +02:00
parent 96dbc54a53
commit f506d5ac65

View File

@@ -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)