mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
WorldProviderManager: added getAvailableProviders()
this will be used by standalone CLI conversion tool
This commit is contained in:
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user