Skip to content

Commit

Permalink
Noba there is no way you messed up that bad.
Browse files Browse the repository at this point in the history
  • Loading branch information
nobaboy committed Oct 4, 2024
1 parent 8910e6e commit 41dcb39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ loom {

runConfigs.all {
ideConfigGenerated(stonecutter.current.isActive)
vmArgs("-Dmixin.debug.export=true")
runDir = "../../run"
}
}
Expand Down
2 changes: 1 addition & 1 deletion make-my-own.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ echo "Setting package dir to $package_dir"
-e "s/FabricModTemplate/$project_name/g" \
-e "s/nobaboy/$project_owner/g" \
"$base"/src/main/kotlin/me/nobaboy/fabricmodtemplate/FabricModTemplate.kt
mv "$base"/src/main/kotlin/me/nobaboy/fabricmodtemplate/FabricModTemplate.kt "$base"/src/main/kotlin/me/nobaboy/fabricmodtemplate/"$project_name.kt"

# Update the mixin file
sed -i \
Expand All @@ -51,7 +52,6 @@ echo "Setting package dir to $package_dir"

# Rename directories
# Kotlin dir
mv "$base"/src/main/kotlin/me/nobaboy/fabricmodtemplate/FabricModTemplate.kt "$base"/src/main/kotlin/me/nobaboy/fabricmodtemplate/"$project_name.kt"
mkdir -p "$base"/src/main/kotlin/"$package_dir"
mv "$base"/src/main/kotlin/me/nobaboy/fabricmodtemplate/* "$base"/src/main/kotlin/"$package_dir"
rm -r "$base"/src/main/kotlin/me/nobaboy/fabricmodtemplate
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"depends": {
"fabricloader": ">=0.16.5",
"fabric-api": "*",
"fabric_language_kotlin": "*",
"fabric-language-kotlin": "*",
"minecraft": "$mcdep"
}
}

0 comments on commit 41dcb39

Please sign in to comment.