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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user