diff --git a/src/main/kotlin/com/squagward/screenshots/Screenshots.kt b/src/main/kotlin/com/squagward/screenshots/Screenshots.kt index 663f5e3..7b1522b 100644 --- a/src/main/kotlin/com/squagward/screenshots/Screenshots.kt +++ b/src/main/kotlin/com/squagward/screenshots/Screenshots.kt @@ -1,6 +1,7 @@ package com.squagward.screenshots import com.squagward.screenshots.compat.MacOSCompat +import com.squagward.screenshots.config.Config import com.squagward.screenshots.hud.ScreenshotHud import net.fabricmc.api.ClientModInitializer import net.minecraft.client.texture.NativeImage @@ -23,6 +24,7 @@ object Screenshots : ClientModInitializer { LOGGER.info("Initialized Screenshots!") ScreenshotHud.init() + Config.INSTANCE.load() } fun copyToClipboard(image: NativeImage) { diff --git a/src/main/kotlin/com/squagward/screenshots/entry/ModMenuEntry.kt b/src/main/kotlin/com/squagward/screenshots/config/ModMenuEntry.kt similarity index 88% rename from src/main/kotlin/com/squagward/screenshots/entry/ModMenuEntry.kt rename to src/main/kotlin/com/squagward/screenshots/config/ModMenuEntry.kt index 9e43655..2a8ecce 100644 --- a/src/main/kotlin/com/squagward/screenshots/entry/ModMenuEntry.kt +++ b/src/main/kotlin/com/squagward/screenshots/config/ModMenuEntry.kt @@ -1,4 +1,4 @@ -package com.squagward.screenshots.entry +package com.squagward.screenshots.config import com.squagward.screenshots.config.Config import com.terraformersmc.modmenu.api.ConfigScreenFactory diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 9fe2bf0..1adecbb 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ "adapter": "kotlin", "value": "com.squagward.screenshots.Screenshots" }], - "modmenu": ["com.squagward.screenshots.entry.ModMenuEntry"] + "modmenu": ["com.squagward.screenshots.config.ModMenuEntry"] }, "mixins": [ "screenshots.mixins.json"