diff --git a/start.cmd b/start.cmd index acd2102b2..ca069638a 100644 --- a/start.cmd +++ b/start.cmd @@ -12,13 +12,9 @@ if exist bin\php\php.exe ( if exist PocketMine-MP.phar ( set POCKETMINE_FILE=PocketMine-MP.phar ) else ( - if exist src\pocketmine\PocketMine.php ( - set POCKETMINE_FILE=src\pocketmine\PocketMine.php - ) else ( - echo Couldn't find a valid PocketMine-MP installation - pause - exit 1 - ) + echo Couldn't find a valid PocketMine-MP installation + pause + exit 1 ) if exist bin\mintty.exe ( diff --git a/start.ps1 b/start.ps1 index b7e86f0b7..f6825ef1c 100644 --- a/start.ps1 +++ b/start.ps1 @@ -18,8 +18,6 @@ if($php -ne ""){ if($file -eq ""){ if(Test-Path "PocketMine-MP.phar"){ $file = "PocketMine-MP.phar" - }elseif(Test-Path "src\pocketmine\PocketMine.php"){ - $file = "src\pocketmine\PocketMine.php" }else{ echo "Couldn't find a valid PocketMine-MP installation" pause diff --git a/start.sh b/start.sh index 48865b4c8..e8e8b18a8 100755 --- a/start.sh +++ b/start.sh @@ -34,8 +34,6 @@ fi if [ "$POCKETMINE_FILE" == "" ]; then if [ -f ./PocketMine-MP.phar ]; then POCKETMINE_FILE="./PocketMine-MP.phar" - elif [ -f ./src/pocketmine/PocketMine.php ]; then - POCKETMINE_FILE="./src/pocketmine/PocketMine.php" else echo "Couldn't find a valid PocketMine-MP installation" exit 1