Skip to content

Commit 3867d80

Browse files
committed
That should be public
1 parent 8d0a3a2 commit 3867d80

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/kotlin/com/demonwav/mcdev/platform/mcp/McpModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

src/main/kotlin/com/demonwav/mcdev/platform/mcp/McpModuleSettings.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import com.intellij.openapi.components.StoragePathMacros
1717
import com.intellij.openapi.module.Module
1818
import 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)])
2121
class 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
}

0 commit comments

Comments
 (0)