Add datapacks folder to init

This commit is contained in:
LinuxSquare 2024-01-06 01:06:45 +01:00
parent 6570d19fa5
commit bafc725bfa
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# CONSTANTS
readonly PKGVER="0.0.1"
readonly PKGVER="0.0.2"
readonly LICENSE="GNU AGPLv3"
readonly ROOTPATH="$(dirname $(readlink -f $(which $0)))"
readonly TEMPLATEDIR="${ROOTPATH}/.template"

View file

@ -8,7 +8,7 @@ function init() {
local newdir="$(getValueByKey 'PODMAN_DIRECTORY')/${1}"
mkdir -p "${newdir}/data"
mkdir -p "${newdir}/data/world/datapacks"
populateConfig "${newdir}/config.json"
}