mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Chunk: Use getSubChunkChecked() in getFullBlock()
This commit is contained in:
@ -145,7 +145,7 @@ class Chunk{
|
||||
* @return int bitmap, (id << 4) | meta
|
||||
*/
|
||||
public function getFullBlock(int $x, int $y, int $z) : int{
|
||||
return $this->getSubChunk($y >> 4)->getFullBlock($x, $y & 0x0f, $z);
|
||||
return $this->getSubChunkChecked($y >> 4)->getFullBlock($x, $y & 0x0f, $z);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user