mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added a normal Temporal Generator
This commit is contained in:
@ -383,6 +383,10 @@ class Level{
|
||||
return (int) $this->level->getData("seed");
|
||||
}
|
||||
|
||||
public function setSeed($seed){
|
||||
$this->level->setData("seed", (int) $seed);
|
||||
}
|
||||
|
||||
public function scheduleBlockUpdate(Position $pos, $delay, $type = BLOCK_UPDATE_SCHEDULED){
|
||||
return $this->server->api->block->scheduleBlockUpdate($pos, $delay, $type);
|
||||
}
|
||||
|
Reference in New Issue
Block a user