mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +00:00
Added a getGeneratorList
This commit is contained in:
parent
5942cafa53
commit
bdf069ebe1
@ -42,6 +42,13 @@ abstract class Generator{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public static function getGeneratorList(){
|
||||
return array_keys(Generator::$list);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user