Change path to mc_rebalance

* Also use a wildcard for the version number for futureproofing
This commit is contained in:
Sergeant Acoustic 2025-09-08 15:17:06 +01:00
parent bb623fda39
commit 0da500d63d
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
release
deps
overrides/mods/0.0.1.jar
overrides/mods/mc_rebalance-1.20.1-*.jar
overrides/global_packs/required_data/mc_rebalance_datapack/

View file

@ -27,7 +27,7 @@ git clone "$pack_repo" "$basedir/overrides/global_packs/required_data/mc_rebalan
(cd "$basedir/overrides/global_packs/required_data/mc_rebalance_datapack/assets/minecraft/lang/" && ./gen-langs.sh)
cp "$basedir/deps/mc_rebalance/build/libs/mc_rebalance-1.20.1/0.0.1.jar" "$basedir/overrides/mods"
cp "$basedir/deps/mc_rebalance/build/libs/mc_rebalance-1.20.1-"*".jar" "$basedir/overrides/mods"
# Final path for the modpack
if [ ! -d release ]; then