mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Chunk: Remove redundant assignment
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user