diff --git a/minecraft-server/start-minecraft.sh b/minecraft-server/start-minecraft.sh index 364b5938..28b12840 100755 --- a/minecraft-server/start-minecraft.sh +++ b/minecraft-server/start-minecraft.sh @@ -253,10 +253,10 @@ do fi done -# If we have a gamerules.txt file... feed that in to the server stdin -if [ -f /data/gamerules.txt ]; +# If we have a bootstrap.txt file... feed that in to the server stdin +if [ -f /data/bootstrap.txt ]; then - exec java $JVM_OPTS -jar $SERVER < /data/gamerules.txt + exec java $JVM_OPTS -jar $SERVER < /data/bootstrap.txt else exec java $JVM_OPTS -jar $SERVER fi