mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2025-12-08 07:15:55 +00:00
improve registerConfig
This commit is contained in:
@@ -26,7 +26,7 @@ object HelloPlugin : Plugin {
|
||||
)
|
||||
|
||||
override fun Module.setupDI(config: JsonObject) {
|
||||
registerConfig<HelloPluginConfig>("helloPlugin")
|
||||
registerConfig<HelloPluginConfig>("helloPlugin") { null }
|
||||
}
|
||||
|
||||
private sealed interface InternalFSMState : State {
|
||||
|
||||
Reference in New Issue
Block a user