use eco enchant enchant limit

This commit is contained in:
alexcrea 2025-07-16 18:08:49 +02:00
parent dea86ab9ce
commit 00adf05d2b
Signed by: alexcrea
GPG key ID: E346CD16413450E3
3 changed files with 17 additions and 3 deletions

View file

@ -52,8 +52,8 @@ open class CustomAnvil : JavaPlugin() {
// Command Name to reload the config
const val commandReloadName = "anvilconfigreload"
// Test command name
const val commandTestName = "customanvilconfig"
// Config command name
const val commandConfigName = "customanvilconfig"
// Current plugin instance
lateinit var instance: CustomAnvil
@ -208,7 +208,7 @@ open class CustomAnvil : JavaPlugin() {
var command = getCommand(commandReloadName)
command?.setExecutor(ReloadExecutor())
command = getCommand(commandTestName)
command = getCommand(commandConfigName)
command?.setExecutor(EditConfigExecutor())
}