Rename two misleadingly-named functions

This commit is contained in:
Dylan K. Taylor
2019-02-27 12:59:12 +00:00
parent ba616ed8a7
commit 9ad0ea85c7
20 changed files with 34 additions and 30 deletions

View File

@ -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
){