From f6ba824974a18f0acfae8d68da732b431951b82a Mon Sep 17 00:00:00 2001 From: Marty Zalega Date: Wed, 18 Dec 2024 14:57:28 +1000 Subject: [PATCH] Fix minecraft bedrock run script --- minecraft_bedrock/config.yaml | 2 +- minecraft_bedrock/rootfs/opt/minecraft/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft_bedrock/config.yaml b/minecraft_bedrock/config.yaml index a1da047..087774a 100644 --- a/minecraft_bedrock/config.yaml +++ b/minecraft_bedrock/config.yaml @@ -1,5 +1,5 @@ name: "Minecraft: Bedrock Edition Server" -version: "1.21.51.01-b" +version: "1.21.51.01-c" slug: "minecraft_bedrock" description: "Run a private server for Minecraft: Bedrock Edition." url: "https://github.com/evilmarty/hassio-addons/tree/master/minecraft_bedrock" diff --git a/minecraft_bedrock/rootfs/opt/minecraft/run.sh b/minecraft_bedrock/rootfs/opt/minecraft/run.sh index 0eaab48..8b2a409 100755 --- a/minecraft_bedrock/rootfs/opt/minecraft/run.sh +++ b/minecraft_bedrock/rootfs/opt/minecraft/run.sh @@ -9,7 +9,7 @@ INSTANCE_DIR="instance" main() { bashio::log.debug "Working directory is ${PWD}" - mkdir "$INSTANCE_DIR" + mkdir -p "$INSTANCE_DIR" cd "$INSTANCE_DIR" || exit 1 write_server_properties "${SERVER_PROPERTIES_PATH}"