mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 01:39:52 +00:00
Added a getGeneratorList
This commit is contained in:
parent
5942cafa53
commit
bdf069ebe1
@ -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