From b160b87e249c05de684e291f609572a1ad3cbee7 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 6 Sep 2023 11:34:03 +0100 Subject: [PATCH] Server: stop discriminating against crashes caused by folder plugins these are the de facto standard, which means that a lot of crashes aren't getting reported from servers with folder plugins. --- src/Server.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Server.php b/src/Server.php index 148c93b8eeb..fb8a2bb6eaf 100644 --- a/src/Server.php +++ b/src/Server.php @@ -80,7 +80,6 @@ use pocketmine\player\PlayerDataSaveException; use pocketmine\player\PlayerInfo; use pocketmine\plugin\PharPluginLoader; -use pocketmine\plugin\Plugin; use pocketmine\plugin\PluginEnableOrder; use pocketmine\plugin\PluginGraylist; use pocketmine\plugin\PluginManager; @@ -1606,15 +1605,6 @@ public function crashDump() : void{ } @touch($stamp); //update file timestamp - $plugin = $dump->getData()->plugin; - if($plugin !== ""){ - $p = $this->pluginManager->getPlugin($plugin); - if($p instanceof Plugin && !($p->getPluginLoader() instanceof PharPluginLoader)){ - $this->logger->debug("Not sending crashdump due to caused by non-phar plugin"); - $report = false; - } - } - if($dump->getData()->error["type"] === \ParseError::class){ $report = false; }