mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-24 19:48:55 +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:
1 parent
4cb227629f
commit
a57adc04ff
18 files changed
+119
-27
No files matched your search
+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