mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Don't send crashdumps if git hash is invalid
This commit is contained in:
parent
c6a6571c07
commit
8a28dfa64d
@ -2175,7 +2175,7 @@ class Server{
|
||||
$report = false;
|
||||
}
|
||||
|
||||
if(strrpos(\pocketmine\GIT_COMMIT, "-dirty") !== false){
|
||||
if(strrpos(\pocketmine\GIT_COMMIT, "-dirty") !== false or \pocketmine\GIT_COMMIT === str_repeat("00", 20)){
|
||||
$this->logger->debug("Not sending crashdump due to locally modified");
|
||||
$report = false; //Don't send crashdumps for locally modified builds
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user