diff --git a/src/pocketmine/utils/Process.php b/src/pocketmine/utils/Process.php index 8bf17fb18..47520344a 100644 --- a/src/pocketmine/utils/Process.php +++ b/src/pocketmine/utils/Process.php @@ -104,7 +104,6 @@ final class Process{ return [$heap, $stack]; } - public static function getThreadCount() : int{ if(Utils::getOS() === "linux" or Utils::getOS() === "android"){ if(preg_match("/Threads:[ \t]+([0-9]+)/", file_get_contents("/proc/self/status"), $matches) > 0){