fix Excellent enchant compatibility

fix #93
This commit is contained in:
alexcrea 2025-11-06 22:59:52 +01:00
parent 0b1e3bc12c
commit 9e772c7c19
Signed by: alexcrea
GPG key ID: E346CD16413450E3
5 changed files with 61 additions and 5 deletions

View file

@ -0,0 +1,21 @@
group = rootProject.group
version = rootProject.version
plugins {
kotlin("jvm") version "2.1.0"
}
repositories {
// ExcellentEnchants
maven(url = "https://repo.nightexpressdev.com/releases")
}
dependencies {
// Spigot api
compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT")
// Excellent Enchant
compileOnly("su.nightexpress.excellentenchants:Core:5.3.0") {
exclude("org.spigotmc")
}
}

View file

@ -0,0 +1,16 @@
package xyz.alexcrea.cuanvil.dependency.plugins;
import org.jetbrains.annotations.NotNull;
import su.nightexpress.excellentenchants.api.enchantment.CustomEnchantment;
import su.nightexpress.excellentenchants.enchantment.EnchantRegistry;
import java.util.Set;
public class ExcellentEnchant5_3Registry {
public static @NotNull Set<CustomEnchantment> getRegistered(){
return EnchantRegistry.getRegistered();
}
}