diff --git a/fabric/build.gradle b/fabric/build.gradle index 1a205b8..c943ab6 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -32,9 +32,10 @@ dependencies { processResources { inputs.property "version", project.version + inputs.property "mod_id", rootProject.mod_id filesMatching("fabric.mod.json") { - expand "version": project.version + expand "version": project.version, "mod_id": rootProject.mod_id } } diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 6896435..ed225e0 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, - "id": "create_train_perspective", + "id": "${mod_id}", "name": "Create: Train Perspective", "description": "Moves your camera (and body!) with the Create Mod train you're riding to increase immersion!", "version": "${version}",