mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-17 08:54:22 +00:00
parent
5ef89200c6
commit
9402a20ee3
@ -264,14 +264,7 @@ final class Utils{
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current Operating System
|
* @return string one of the Utils::OS_* constants
|
||||||
* Windows => win
|
|
||||||
* MacOS => mac
|
|
||||||
* iOS => ios
|
|
||||||
* Android => android
|
|
||||||
* Linux => Linux
|
|
||||||
* BSD => bsd
|
|
||||||
* Other => other
|
|
||||||
*/
|
*/
|
||||||
public static function getOS(bool $recalculate = false) : string{
|
public static function getOS(bool $recalculate = false) : string{
|
||||||
if(self::$os === null || $recalculate){
|
if(self::$os === null || $recalculate){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user