mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-04 13:15:04 +00:00
Detect Fabric FTB App packs from run.sh (#4250)
Co-authored-by: LCB <me@lbellows.com>
This commit is contained in:
@@ -140,9 +140,9 @@ if [[ $SERVER = run.sh ]]; then
|
|||||||
elif grep -q forge "$SERVER"; then
|
elif grep -q forge "$SERVER"; then
|
||||||
export FAMILY=FORGE
|
export FAMILY=FORGE
|
||||||
export TYPE=FORGE
|
export TYPE=FORGE
|
||||||
elif grep -q fabric run.s; then
|
elif grep -q fabric "$SERVER"; then
|
||||||
export FAMILY=FABRIC
|
export FAMILY=FABRIC
|
||||||
export TYPE=FABRIC
|
export TYPE=FABRIC
|
||||||
else
|
else
|
||||||
logError "Unrecognized loader type in $SERVER"
|
logError "Unrecognized loader type in $SERVER"
|
||||||
cat "$SERVER"
|
cat "$SERVER"
|
||||||
|
|||||||
Reference in New Issue
Block a user