From 47b68f8140d1f7816f28a23baadb078a48cf344a Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 27 Nov 2024 13:22:09 +0800 Subject: [PATCH] Fix: Fabric permissions api conflict --- bootstrap/mod/fabric/build.gradle.kts | 1 + gradle/libs.versions.toml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bootstrap/mod/fabric/build.gradle.kts b/bootstrap/mod/fabric/build.gradle.kts index 2599a47b5..d48e184a2 100644 --- a/bootstrap/mod/fabric/build.gradle.kts +++ b/bootstrap/mod/fabric/build.gradle.kts @@ -38,6 +38,7 @@ dependencies { modImplementation(libs.cloud.fabric) include(libs.cloud.fabric) + include(libs.fabric.permissions.api) } tasks.withType { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f95574ee1..1e942df77 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -28,13 +28,14 @@ viaversion = "4.9.2" adapters = "1.15-SNAPSHOT" cloud = "2.0.0-rc.2" cloud-minecraft = "2.0.0-beta.9" -cloud-minecraft-modded = "2.0.0-beta.7" +cloud-minecraft-modded = "2.0.0-beta.9" commodore = "2.2" bungeecord = "a7c6ede" velocity = "3.3.0-SNAPSHOT" viaproxy = "3.3.2-SNAPSHOT" fabric-loader = "0.16.7" fabric-api = "0.106.1+1.21.3" +fabric-permissions-api = "0.3.3" neoforge-minecraft = "21.3.0-beta" mixin = "0.8.5" mixinextras = "0.3.5" @@ -109,6 +110,7 @@ minecraft = { group = "com.mojang", name = "minecraft", version.ref = "minecraft # Check these on https://fabricmc.net/develop/ fabric-loader = { group = "net.fabricmc", name = "fabric-loader", version.ref = "fabric-loader" } fabric-api = { group = "net.fabricmc.fabric-api", name = "fabric-api", version.ref = "fabric-api" } +fabric-permissions-api = { group = "me.lucko", name = "fabric-permissions-api", version.ref = "fabric-permissions-api" } neoforge-minecraft = { group = "net.neoforged", name = "neoforge", version.ref = "neoforge-minecraft" }