mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-21 10:26:38 +00:00
Do not send crash reports generated from a source PM installation
This commit is contained in:
parent
25f5d409f1
commit
2eced89e6f
@ -1803,7 +1803,10 @@ class Server{
|
|||||||
if($p instanceof Plugin and !($p->getPluginLoader() instanceof PharPluginLoader)){
|
if($p instanceof Plugin and !($p->getPluginLoader() instanceof PharPluginLoader)){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}elseif(\Phar::running(true) == ""){
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$reply = Utils::postURL("http://".$this->getProperty("auto-report.host", "crash.pocketmine.net")."/submit/api", [
|
$reply = Utils::postURL("http://".$this->getProperty("auto-report.host", "crash.pocketmine.net")."/submit/api", [
|
||||||
"report" => "yes",
|
"report" => "yes",
|
||||||
"name" => "PocketMine-MP ".$this->getPocketMineVersion(),
|
"name" => "PocketMine-MP ".$this->getPocketMineVersion(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user