mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Rename two misleadingly-named functions
This commit is contained in:
@ -75,7 +75,7 @@ class Grass extends Solid{
|
||||
$b = $this->level->getBlockAt($x, $y, $z);
|
||||
if(
|
||||
$b->getId() !== Block::DIRT or
|
||||
$b->getDamage() === 1 or //coarse dirt
|
||||
$b->getMeta() === 1 or //coarse dirt
|
||||
$this->level->getFullLightAt($x, $y + 1, $z) < 4 or
|
||||
$this->level->getBlockAt($x, $y + 1, $z)->getLightFilter() >= 2
|
||||
){
|
||||
|
Reference in New Issue
Block a user