From e88f416c48f9659f89b7047d7629cd9a1d1535bc Mon Sep 17 00:00:00 2001 From: Brady Date: Tue, 25 Jun 2024 14:53:39 -0230 Subject: Fix: launchers reading mod as libninepatch (#2147) --- build.gradle.kts | 2 +- src/main/resources/fabric.mod.json | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/fabric.mod.json diff --git a/build.gradle.kts b/build.gradle.kts index 2d991fcc0..b3bac5561 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -196,7 +196,7 @@ loom { // Tasks: tasks.processResources { inputs.property("version", version) - filesMatching("mcmod.info") { + filesMatching(listOf("mcmod.info", "fabric.mod.json")) { expand("version" to version) } } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json new file mode 100644 index 000000000..d86c9cd51 --- /dev/null +++ b/src/main/resources/fabric.mod.json @@ -0,0 +1,12 @@ +{ + "schemaVersion": 1, + "version": "${version}", + "id": "skyhanni", + "name": "SkyHanni", + "description": "SkyHanni is a Minecraft Mod for Hypixel SkyBlock.", + "icon": "assets/skyhanni/logo.png", + "authors": [], + "depends": { + "minecraft": "1.8.9" + } +} -- cgit