mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
wtf
This commit is contained in:
parent
6bdf5e15c0
commit
06af742bef
@ -1637,7 +1637,7 @@ class Server{
|
||||
$this->logger->debug($this->getLanguage()->translateString("pocketmine.debug.enable"));
|
||||
}
|
||||
|
||||
Generator::init();
|
||||
Generator::registerDefaultGenerators();
|
||||
|
||||
foreach((array) $this->getProperty("worlds", []) as $name => $options){
|
||||
if(!is_array($options)){
|
||||
|
@ -36,7 +36,7 @@ use pocketmine\utils\Random;
|
||||
abstract class Generator{
|
||||
private static $list = [];
|
||||
|
||||
public static function init() : void{
|
||||
public static function registerDefaultGenerators() : void{
|
||||
self::addGenerator(Flat::class, "flat");
|
||||
self::addGenerator(Normal::class, "normal");
|
||||
self::addGenerator(Normal::class, "default");
|
||||
|
Loading…
x
Reference in New Issue
Block a user