mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-20 06:16:52 +00:00
Improved handling of MODS and PLUGINS lists (#2197)
This commit is contained in:
1 parent
3c1a83cc6a
commit
a5b7f8ac90
6 files changed
+145
-117
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user