mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-27 05:13:46 +00:00
Fixed #359 crash dump name not compatible with Windows
This commit is contained in:
parent
4f10b1cb7c
commit
d82399e686
@ -384,7 +384,7 @@ class PocketMinecraftServer{
|
|||||||
$dump .= "\r\nphpinfo(): \r\n".base64_encode(gzdeflate(ob_get_contents(), 9))."\r\n";
|
$dump .= "\r\nphpinfo(): \r\n".base64_encode(gzdeflate(ob_get_contents(), 9))."\r\n";
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
$dump .= "\r\n```";
|
$dump .= "\r\n```";
|
||||||
$name = "Error_Dump_".date("D_M_j-H:i:s-T_Y");
|
$name = "Error_Dump_".date("D_M_j-H.i.s-T_Y");
|
||||||
logg($dump, $name, true, 0, true);
|
logg($dump, $name, true, 0, true);
|
||||||
console("[ERROR] Please submit the \"{$name}.log\" file to the Bug Reporting page. Give as much info as you can.", true, true, 0);
|
console("[ERROR] Please submit the \"{$name}.log\" file to the Bug Reporting page. Give as much info as you can.", true, true, 0);
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,7 @@ define("VIEWER", 3);
|
|||||||
|
|
||||||
|
|
||||||
//Players
|
//Players
|
||||||
|
define("PLAYER_RECOVERY_BUFFER", 1024);
|
||||||
define("PLAYER_MAX_PACKET_LOSS", 0.20);
|
define("PLAYER_MAX_PACKET_LOSS", 0.20);
|
||||||
|
|
||||||
define("PLAYER_SURVIVAL_SLOTS", 36);
|
define("PLAYER_SURVIVAL_SLOTS", 36);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user