diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index fb4ed4864..a19ffff78 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -51,6 +51,8 @@ itemsadder = { module = "com.github.LoneDev6:api-itemsadder", version.ref = "ite fancy-holograms = { module = "de.oliver:FancyHolograms", version.ref = "fancyholograms" } vault = { module = "com.github.MilkBowl:VaultAPI", version.ref = "vault" } oraxen = { module = "io.th0rgal:oraxen", version.ref = "oraxen" } +cmilib = { module = "CMILib:CMILib", version = "1.5.1.4" } +cmi = { module = "CMI-API:CMI-API", version = "9.7.4.1" } # Crate Plugins excellentcrates = { module = "su.nightexpress.excellentcrates:ExcellentCrates", version = "5.3.1" } diff --git a/paper/build.gradle.kts b/paper/build.gradle.kts index c26b00d0d..acbbadd3b 100644 --- a/paper/build.gradle.kts +++ b/paper/build.gradle.kts @@ -12,8 +12,6 @@ repositories { dependencies { compileOnly(libs.paper) - compileOnly(fileTree("$projectDir/libs/compile").include("*.jar")) - implementation(libs.triumph.cmds) implementation(libs.vital.paper) { @@ -34,6 +32,9 @@ dependencies { compileOnly(libs.placeholderapi) compileOnly(libs.oraxen) + + compileOnly(libs.cmilib) + compileOnly(libs.cmi) } tasks { diff --git a/paper/libs/compile/CMIAPI-9.7.4.1.jar b/paper/libs/compile/CMIAPI-9.7.4.1.jar deleted file mode 100644 index 62f67a55b..000000000 Binary files a/paper/libs/compile/CMIAPI-9.7.4.1.jar and /dev/null differ diff --git a/paper/libs/compile/CMILib1.5.1.1.jar b/paper/libs/compile/CMILib1.5.1.1.jar deleted file mode 100644 index 93a3b0722..000000000 Binary files a/paper/libs/compile/CMILib1.5.1.1.jar and /dev/null differ diff --git a/paper/src/main/java/com/badbones69/crazycrates/support/holograms/types/CMIHologramsSupport.java b/paper/src/main/java/com/badbones69/crazycrates/support/holograms/types/CMIHologramsSupport.java index 259b47ca7..5e86aadb4 100644 --- a/paper/src/main/java/com/badbones69/crazycrates/support/holograms/types/CMIHologramsSupport.java +++ b/paper/src/main/java/com/badbones69/crazycrates/support/holograms/types/CMIHologramsSupport.java @@ -5,9 +5,9 @@ import com.Zrips.CMI.Modules.Holograms.CMIHologram; import com.badbones69.crazycrates.api.objects.crates.CrateHologram; import net.Zrips.CMILib.Colors.CMIChatColor; +import net.Zrips.CMILib.Container.CMILocation; import org.bukkit.Location; import org.bukkit.entity.Player; -import net.Zrips.CMILib.Container.CMILocation; import com.badbones69.crazycrates.api.objects.Crate; import com.badbones69.crazycrates.support.holograms.HologramManager; import us.crazycrew.crazycrates.api.enums.types.CrateType;