mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-03-04 15:17:17 +00:00
gamerules.txt is now bootstrap.txt
This commit is contained in:
parent
4b74d13f08
commit
63e3123ab0
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue