diff --git a/serverpackcreator-app/src/main/kotlin/de/griefed/serverpackcreator/app/gui/window/configs/ConfigEditor.kt b/serverpackcreator-app/src/main/kotlin/de/griefed/serverpackcreator/app/gui/window/configs/ConfigEditor.kt index eb87215c9..2073fe9b7 100644 --- a/serverpackcreator-app/src/main/kotlin/de/griefed/serverpackcreator/app/gui/window/configs/ConfigEditor.kt +++ b/serverpackcreator-app/src/main/kotlin/de/griefed/serverpackcreator/app/gui/window/configs/ConfigEditor.kt @@ -345,7 +345,7 @@ class ConfigEditor( private fun selectServerProperties() { val serverPropertiesChooser = if (guiProps.getPreference("lastserverpropertieschooserdir").isPresent) { - ServerIconChooser(File(guiProps.getPreference("lastserverpropertieschooserdir").get()), guiProps.defaultFileChooserDimension) + ServerPropertiesChooser(File(guiProps.getPreference("lastserverpropertieschooserdir").get()), guiProps.defaultFileChooserDimension) } else if (File(getServerPropertiesPath()).isFile) { ServerPropertiesChooser(File(getServerPropertiesPath()), guiProps.defaultFileChooserDimension) } else {