diff --git a/start.sh b/start.sh index 34b12b01..fd4603b9 100644 --- a/start.sh +++ b/start.sh @@ -1,9 +1,8 @@ #!/bin/bash DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)" cd "$DIR" -if [ -f ./bin/php5/bin/php ]; then - exec ./bin/php5/bin/php -d enable_dl=On PocketMine-MP.php $@ -else - echo "[WARNING] You are not using the standalone NostalgiaCore PHP binary." - exec php -d enable_dl=On PocketMine-MP.php $@ -fi \ No newline at end of file +while [ true ] +do +./bin/php5/bin/php -d enable_dl=On PocketMine-MP.php $@ +echo "Restarting the server..." +done