diff --git a/src/main/kotlin/com/squagward/screenshots/config/ScreenshotsConfig.kt b/src/main/kotlin/com/squagward/screenshots/config/ScreenshotsConfig.kt index f3a12b4..fbb2188 100644 --- a/src/main/kotlin/com/squagward/screenshots/config/ScreenshotsConfig.kt +++ b/src/main/kotlin/com/squagward/screenshots/config/ScreenshotsConfig.kt @@ -38,7 +38,7 @@ class ScreenshotsConfig { } .build() - fun createScreen(parent: Screen): Screen { + fun createScreen(parent: Screen?): Screen { return YetAnotherConfigLib.create(CONFIG) { defaults: ScreenshotsConfig, config: ScreenshotsConfig, builder: YetAnotherConfigLib.Builder -> val pauseGameWhileCroppingOption: Option = Option.createBuilder() .name(Text.translatable("screenshots.setting.pause_crop.title"))