mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-16 02:47:58 +00:00
gamerules.txt is now bootstrap.txt
This commit is contained in:
@@ -253,10 +253,10 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# If we have a gamerules.txt file... feed that in to the server stdin
|
# If we have a bootstrap.txt file... feed that in to the server stdin
|
||||||
if [ -f /data/gamerules.txt ];
|
if [ -f /data/bootstrap.txt ];
|
||||||
then
|
then
|
||||||
exec java $JVM_OPTS -jar $SERVER < /data/gamerules.txt
|
exec java $JVM_OPTS -jar $SERVER < /data/bootstrap.txt
|
||||||
else
|
else
|
||||||
exec java $JVM_OPTS -jar $SERVER
|
exec java $JVM_OPTS -jar $SERVER
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user