mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +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)){
|
||||
return;
|
||||
}
|
||||
}elseif(\Phar::running(true) == ""){
|
||||
return;
|
||||
}
|
||||
|
||||
$reply = Utils::postURL("http://".$this->getProperty("auto-report.host", "crash.pocketmine.net")."/submit/api", [
|
||||
"report" => "yes",
|
||||
"name" => "PocketMine-MP ".$this->getPocketMineVersion(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user