mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-07 02:21:46 +00:00
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.
This commit is contained in:
parent
690ee4c574
commit
b160b87e24
@ -80,7 +80,6 @@ use pocketmine\player\PlayerDataProvider;
|
|||||||
use pocketmine\player\PlayerDataSaveException;
|
use pocketmine\player\PlayerDataSaveException;
|
||||||
use pocketmine\player\PlayerInfo;
|
use pocketmine\player\PlayerInfo;
|
||||||
use pocketmine\plugin\PharPluginLoader;
|
use pocketmine\plugin\PharPluginLoader;
|
||||||
use pocketmine\plugin\Plugin;
|
|
||||||
use pocketmine\plugin\PluginEnableOrder;
|
use pocketmine\plugin\PluginEnableOrder;
|
||||||
use pocketmine\plugin\PluginGraylist;
|
use pocketmine\plugin\PluginGraylist;
|
||||||
use pocketmine\plugin\PluginManager;
|
use pocketmine\plugin\PluginManager;
|
||||||
@ -1606,15 +1605,6 @@ class Server{
|
|||||||
}
|
}
|
||||||
@touch($stamp); //update file timestamp
|
@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){
|
if($dump->getData()->error["type"] === \ParseError::class){
|
||||||
$report = false;
|
$report = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user