mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-27 05:40:01 +00:00
Merge pull request #2944 from alejandroliu/generator-list
Added a getGeneratorList
This commit is contained in:
commit
ef00103fec
@ -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