mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-07 17:29:21 +00:00
gamerules.txt is now bootstrap.txt
This commit is contained in:
1 parent
4b74d13f08
commit
63e3123ab0
1 file changed
+3
-3
@@ -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
|
||||
Reference in new issue
Block a user