mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Server: remove useless check from exceptionHandler()
this cannot be null... @shoghicp y u litter the code with these useless checks ???
This commit is contained in:
parent
5546c88f88
commit
9ece971a2b
@ -2144,10 +2144,6 @@ class Server{
|
|||||||
* @param array|null $trace
|
* @param array|null $trace
|
||||||
*/
|
*/
|
||||||
public function exceptionHandler(\Throwable $e, $trace = null){
|
public function exceptionHandler(\Throwable $e, $trace = null){
|
||||||
if($e === null){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
global $lastError;
|
global $lastError;
|
||||||
|
|
||||||
if($trace === null){
|
if($trace === null){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user