mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-27 13:49:55 +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 false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string[]
|
||||||
|
*/
|
||||||
|
public static function getGeneratorList(){
|
||||||
|
return array_keys(Generator::$list);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $name
|
* @param $name
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user