mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
first look at a giant static interface for block fetching
This commit is contained in:
@@ -89,7 +89,7 @@ class SnowLayer extends Flowable implements Fallable{
|
||||
|
||||
public function onRandomTick() : void{
|
||||
if($this->world->getBlockLightAt($this->x, $this->y, $this->z) >= 12){
|
||||
$this->getWorld()->setBlock($this, BlockFactory::get(BlockLegacyIds::AIR), false);
|
||||
$this->getWorld()->setBlock($this, VanillaBlocks::AIR(), false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user