From e509563b109695a61d1bf43b6a5fa0c9440e37f6 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Wed, 7 Jun 2017 20:43:35 -0500 Subject: [PATCH] [mc] Correctly pre-populate json config files For #158 --- minecraft-server/start-minecraft.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft-server/start-minecraft.sh b/minecraft-server/start-minecraft.sh index 88eebbfb..b568f53c 100755 --- a/minecraft-server/start-minecraft.sh +++ b/minecraft-server/start-minecraft.sh @@ -557,10 +557,10 @@ fi # Make sure files exist to avoid errors if [ ! -e banned-players.json ]; then - echo '' > banned-players.json + echo '[]' > banned-players.json fi if [ ! -e banned-ips.json ]; then - echo '' > banned-ips.json + echo '[]' > banned-ips.json fi # If any modules have been provided, copy them over