Improved handling of MODS and PLUGINS lists (#2197)

This commit is contained in:
Geoff Bourne
2023-06-10 12:51:49 -05:00
committed by GitHub
parent 3c1a83cc6a
commit a5b7f8ac90
6 changed files with 145 additions and 117 deletions

View File

@@ -305,3 +305,19 @@ function checkSum() {
return 1
fi
}
function usesMods() {
case "$FAMILY" in
FORGE|FABRIC|HYBRID|SPONGE)
return 0
esac
return 1
}
function usesPlugins() {
case "$FAMILY" in
SPIGOT|HYBRID)
return 0
esac
return 1
}