mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fix error dump not dumped on memory problems
This commit is contained in:
parent
3df7d91c8a
commit
149d88f628
1 changed files with 1 additions and 0 deletions
|
|
@ -388,6 +388,7 @@ class PocketMinecraftServer{
|
|||
if($this->stop === true){
|
||||
return;
|
||||
}
|
||||
ini_set("memory_limit", "-1"); //Fix error dump not dumped on memory problems
|
||||
console("[SEVERE] An unrecovereable has ocurred and the server has crashed. Creating an error dump");
|
||||
$dump = "```\r\n# PocketMine-MP Error Dump ".date("D M j H:i:s T Y")."\r\n";
|
||||
$er = error_get_last();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue