mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
WorldProviderManager: added getAvailableProviders()
this will be used by standalone CLI conversion tool
This commit is contained in:
parent
6a4ae4cb94
commit
aa006cca0e
@ -102,6 +102,13 @@ abstract class WorldProviderManager{
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string[]|WorldProvider[]
|
||||||
|
*/
|
||||||
|
public static function getAvailableProviders() : array{
|
||||||
|
return self::$providers;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a WorldProvider by name, or null if not found
|
* Returns a WorldProvider by name, or null if not found
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user