mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Remove some Throwable abuse in AsyncTasks
This commit is contained in:
@ -44,10 +44,6 @@ class FileWriteTask extends AsyncTask{
|
||||
}
|
||||
|
||||
public function onRun(){
|
||||
try{
|
||||
file_put_contents($this->path, $this->contents, $this->flags);
|
||||
}catch(\Throwable $e){
|
||||
|
||||
}
|
||||
file_put_contents($this->path, $this->contents, $this->flags);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user