changed 2 files back

This commit is contained in:
GameHerobrine 2023-06-14 17:07:19 +03:00
parent 8e241171a3
commit 58626eeb95
2 changed files with 1 additions and 5 deletions

View file

@ -28,9 +28,5 @@ require_once(FILE_PATH."/src/dependencies.php");
$server = new ServerAPI();
$server->start();
/*console(Utils::getSeedNumeric("nyan")*543321);
$mtrand = new MersenneTwister(Utils::getSeedNumeric("nyan")*543321);
$nois = new NoiseGeneratorOctaves($mtrand, 2);
var_dump($nois->generateNoiseOctaves(2 << 4, 6 << 4, 16, 16, 0.025, 0.025, 0.25));*/
kill(getmypid()); //Fix for ConsoleAPI being blocked
exit(0);

View file

@ -3,7 +3,7 @@ TITLE NostalgiaCore server software for Minecraft: Pocket Edition
cd /d %~dp0
if exist bin\php\php.exe (
if exist bin\mintty.exe (
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o CursorType=0 -o CursorBlinks=1 -h error -t "NostalgiaCore" -i bin/pocketmine.ico -w max bin\php8test\php.exe -d enable_dl=On PocketMine-MP.php --enable-ansi %*
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o CursorType=0 -o CursorBlinks=1 -h error -t "NostalgiaCore" -i bin/pocketmine.ico -w max bin\php\php.exe -d enable_dl=On PocketMine-MP.php --enable-ansi %*
) else (
bin\php\php.exe -d enable_dl=On PocketMine-MP.php %*
)