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