mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Utils: fixed getTrace() including itself in trace when no alt trace is given
it always seemed a little strange that crashdump trace would pop 4 frames when only 3 are written in the comment...
This commit is contained in:
@ -538,6 +538,7 @@ class Utils{
|
||||
$e = new \Exception();
|
||||
$trace = $e->getTrace();
|
||||
}
|
||||
++$start; //skip this frame
|
||||
}
|
||||
|
||||
$messages = [];
|
||||
|
Reference in New Issue
Block a user