File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/main/kotlin/com/demonwav/mcdev/platform/mcp Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class McpModule(facet: MinecraftFacet) : AbstractModule(facet) {
4040
4141 override fun writeErrorMessageForEventParameter (eventClass : PsiClass , method : PsiMethod ) = " "
4242
43- private fun getSettings () = settings.state
43+ fun getSettings () = settings.state
4444
4545 fun updateSettings (data : McpModuleSettings .State ) {
4646 this .settings.loadState(data)
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import com.intellij.openapi.components.StoragePathMacros
1717import com.intellij.openapi.module.Module
1818import com.intellij.openapi.module.ModuleManager
1919
20- @State(name = " McpModuleSettings" , storages = arrayOf( Storage (StoragePathMacros .MODULE_FILE )) )
20+ @State(name = " McpModuleSettings" , storages = [ Storage (StoragePathMacros .MODULE_FILE )] )
2121class McpModuleSettings : PersistentStateComponent <McpModuleSettings .State > {
2222
2323 data class State (
@@ -57,5 +57,4 @@ class McpModuleSettings : PersistentStateComponent<McpModuleSettings.State> {
5757 return newSettings
5858 }
5959 }
60-
6160}
You can’t perform that action at this time.
0 commit comments