mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 01:51:51 +00:00
Chunk: Remove redundant assignment
This commit is contained in:
parent
48c5db4296
commit
b93691a177
@ -375,8 +375,6 @@ class Chunk{
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$height = $index << 4;
|
|
||||||
|
|
||||||
for($y = $index; $y >= 0; --$y){
|
for($y = $index; $y >= 0; --$y){
|
||||||
$height = $this->getSubChunk($y)->getHighestBlockAt($x, $z) | ($y << 4);
|
$height = $this->getSubChunk($y)->getHighestBlockAt($x, $z) | ($y << 4);
|
||||||
if($height !== -1){
|
if($height !== -1){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user