mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-25 02:26:24 +00:00
Disable REMOVE_OLD_MODS when it interferes with managed mod/plugin features (#2648)
This commit is contained in:
@@ -347,4 +347,13 @@ function resolveFamily() {
|
||||
;;
|
||||
esac
|
||||
export FAMILY
|
||||
}
|
||||
|
||||
function ensureRemoveAllModsOff() {
|
||||
reason=${1?}
|
||||
|
||||
if isTrue "${REMOVE_OLD_MODS:-false}"; then
|
||||
log "WARNING using REMOVE_OLDS_MODS interferes with $reason -- it is now disabled"
|
||||
REMOVE_OLD_MODS=false
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user