disabled dropping in creative, crash reports are now saved if save-console-data=off

This commit is contained in:
GameHerobrine 2024-11-26 20:28:04 +03:00
parent cb125f5aa2
commit e85fbd6067
2 changed files with 10 additions and 0 deletions

View file

@ -746,7 +746,11 @@ class PocketMinecraftServer{
ob_end_clean();
$dump .= "\r\n```";
$name = "Error_Dump_" . date("D_M_j-H.i.s-T_Y");
global $dolog;
$old = $dolog;
$dolog = true;
logg($dump, $name, true, 0, true);
$dolog = $old;
console("[SEVERE] Please submit the \"{$name}.log\" file to the Bug Reporting page. Give as much info as you can.", true, true, 0);
}