mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +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 string[]|WorldProvider[]
|
||||
*/
|
||||
public static function getAvailableProviders() : array{
|
||||
return self::$providers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a WorldProvider by name, or null if not found
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user