mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 08:14:00 +02:00
add excellent enchant limit
This commit is contained in:
parent
8ded2ae9c6
commit
f3c6526967
8 changed files with 56 additions and 16 deletions
|
|
@ -11,11 +11,7 @@ repositories {
|
|||
}
|
||||
|
||||
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")
|
||||
}
|
||||
compileOnly("su.nightexpress.excellentenchants:Core:5.4.1")
|
||||
compileOnly("su.nightexpress.nightcore:main:2.14.1")
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
package xyz.alexcrea.cuanvil.dependency.plugins;
|
||||
|
||||
import su.nightexpress.excellentenchants.EnchantsAPI;
|
||||
|
||||
public class ExcellentEnchant5_4EnchantSettings {
|
||||
|
||||
|
||||
public static int anvilLimit() {
|
||||
return EnchantsAPI.getEnchantManager().getSettings().getAnvilEnchantsLimit();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue