fix forgetting luck of the sea for the longest time

This commit is contained in:
alexcrea 2025-11-10 23:43:16 +01:00
parent bc8107ca44
commit ade94bdfca
Signed by: alexcrea
GPG key ID: E346CD16413450E3
8 changed files with 86 additions and 25 deletions

View file

@ -10,6 +10,7 @@ import xyz.alexcrea.cuanvil.command.EditConfigExecutor
import xyz.alexcrea.cuanvil.command.ReloadExecutor
import xyz.alexcrea.cuanvil.config.ConfigHolder
import xyz.alexcrea.cuanvil.dependency.DependencyManager
import xyz.alexcrea.cuanvil.dependency.util.PlatformUtil
import xyz.alexcrea.cuanvil.enchant.CAEnchantmentRegistry
import xyz.alexcrea.cuanvil.gui.config.MainConfigGui
import xyz.alexcrea.cuanvil.gui.util.GuiSharedConstant
@ -64,7 +65,7 @@ open class CustomAnvil : JavaPlugin() {
/**
* Logging handler
*/
fun log(message: String) {
@JvmStatic fun log(message: String) {
if (ConfigOptions.debugLog) {
instance.logger.info(message)
}
@ -79,7 +80,6 @@ open class CustomAnvil : JavaPlugin() {
}
}
}
/**
@ -96,6 +96,11 @@ open class CustomAnvil : JavaPlugin() {
logger.warning("Please note CustomAnvil is a more recent version of UnsafeEnchantsPlus")
}
if(!PlatformUtil.isPaper) {
logger.warning("It seems you are using spigot")
logger.warning("Please take notice that spigot is less supported than paper and derivatives")
}
// Add commands
prepareCommand()