mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fixed #1531
This commit is contained in:
@ -210,7 +210,7 @@ abstract class BaseChunk implements Chunk{
|
||||
}
|
||||
|
||||
public function getHighestBlockAt($x, $z){
|
||||
for($Y = self::SECTION_COUNT; $Y >= 0; --$Y){
|
||||
for($Y = self::SECTION_COUNT - 1; $Y >= 0; --$Y){
|
||||
if(!$this->isSectionEmpty($Y)){
|
||||
$column = $this->sections[$Y]->getBlockIdColumn($x, $z);
|
||||
for($y = 15; $y >= 0; --$y){
|
||||
|
Reference in New Issue
Block a user