mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-25 09:54:53 +00:00
Add GameType filter, and add ForgeAPI Verify Files to validate Mod Downloads (#1337)
Co-authored-by: christopher blodgett <christopher.blodgett@gmail.com>
This commit is contained in:
co-authored by
christopher blodgett
parent
4cb227629f
commit
a57adc04ff
+2
-2
@@ -190,13 +190,13 @@ function get() {
|
||||
|
||||
function isFamily() {
|
||||
for f in "${@}"; do
|
||||
if [[ $FAMILY == "$f" ]]; then
|
||||
if [[ ${FAMILY^^} == "${f^^}" ]]; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
function isType() {
|
||||
for t in "${@}"; do
|
||||
# shellcheck disable=SC2153
|
||||
|
||||
Reference in New Issue
Block a user