fix cause of IllegalAccessException
This commit is contained in:
parent
a4f7f39196
commit
1edbf0204d
1 changed files with 4 additions and 3 deletions
|
@ -5,10 +5,11 @@ import org.quiltmc.qsl.base.api.entrypoint.ModInitializer
|
|||
import org.slf4j.Logger
|
||||
import org.slf4j.LoggerFactory
|
||||
|
||||
object ExampleMod : ModInitializer {
|
||||
private val LOGGER: Logger = LoggerFactory.getLogger("Example Mod")
|
||||
|
||||
class ExampleMod : ModInitializer {
|
||||
override fun onInitialize(mod: ModContainer) {
|
||||
LOGGER.info("Hello Quilt world from {}!", mod.metadata()?.name())
|
||||
}
|
||||
companion object {
|
||||
private val LOGGER: Logger = LoggerFactory.getLogger("Example Mod")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue