mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed #265
This commit is contained in:
@ -116,7 +116,7 @@ class SuperflatGenerator implements LevelGenerator{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function populateLevel(){
|
public function populateLevel(){
|
||||||
$this->random->seed($this->level->getSeed());
|
$this->random->setSeed($this->level->getSeed());
|
||||||
if(isset($this->options["spawn"])){
|
if(isset($this->options["spawn"])){
|
||||||
$spawn = array(10, new SandstoneBlock());
|
$spawn = array(10, new SandstoneBlock());
|
||||||
if(isset($this->options["spawn"]["radius"])){
|
if(isset($this->options["spawn"]["radius"])){
|
||||||
|
Reference in New Issue
Block a user