mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Player: don't catch Throwable on transaction creation failure
This commit is contained in:
parent
2eaba7c936
commit
87ff1c0382
@ -2286,7 +2286,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
if($action !== null){
|
||||
$actions[] = $action;
|
||||
}
|
||||
}catch(\Throwable $e){
|
||||
}catch(\Exception $e){
|
||||
$this->server->getLogger()->debug("Unhandled inventory action from " . $this->getName() . ": " . $e->getMessage());
|
||||
$this->sendAllInventories();
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user