Add datapacks folder to init
This commit is contained in:
parent
6570d19fa5
commit
bafc725bfa
2 changed files with 2 additions and 2 deletions
2
pms-cli
2
pms-cli
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# CONSTANTS
|
# CONSTANTS
|
||||||
readonly PKGVER="0.0.1"
|
readonly PKGVER="0.0.2"
|
||||||
readonly LICENSE="GNU AGPLv3"
|
readonly LICENSE="GNU AGPLv3"
|
||||||
readonly ROOTPATH="$(dirname $(readlink -f $(which $0)))"
|
readonly ROOTPATH="$(dirname $(readlink -f $(which $0)))"
|
||||||
readonly TEMPLATEDIR="${ROOTPATH}/.template"
|
readonly TEMPLATEDIR="${ROOTPATH}/.template"
|
||||||
|
|
|
@ -8,7 +8,7 @@ function init() {
|
||||||
|
|
||||||
local newdir="$(getValueByKey 'PODMAN_DIRECTORY')/${1}"
|
local newdir="$(getValueByKey 'PODMAN_DIRECTORY')/${1}"
|
||||||
|
|
||||||
mkdir -p "${newdir}/data"
|
mkdir -p "${newdir}/data/world/datapacks"
|
||||||
populateConfig "${newdir}/config.json"
|
populateConfig "${newdir}/config.json"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue