Chunk: Remove redundant assignment

This commit is contained in:
Dylan K. Taylor 2017-11-27 18:58:08 +00:00
parent 48c5db4296
commit b93691a177

View File

@ -375,8 +375,6 @@ class Chunk{
return -1;
}
$height = $index << 4;
for($y = $index; $y >= 0; --$y){
$height = $this->getSubChunk($y)->getHighestBlockAt($x, $z) | ($y << 4);
if($height !== -1){