mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Fix formatting issues due to bad IDE settings
This commit is contained in:
@ -235,8 +235,8 @@ class ServerScheduler{
|
||||
$task->timings->startTiming();
|
||||
try{
|
||||
$task->run($this->currentTick);
|
||||
}catch (\Exception $e){
|
||||
Server::getInstance()->getLogger()->critical("Could not execute task ". $task->getTaskName() .": ".$e->getMessage());
|
||||
}catch(\Exception $e){
|
||||
Server::getInstance()->getLogger()->critical("Could not execute task " . $task->getTaskName() . ": " . $e->getMessage());
|
||||
if(($logger = Server::getInstance()->getLogger()) instanceof MainLogger){
|
||||
$logger->logException($e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user