mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Updated to receive new optimizations
This commit is contained in:
@ -71,7 +71,8 @@ class BlockIterator implements \Iterator{
|
||||
$secondPosition = 0;
|
||||
$thirdPosition = 0;
|
||||
|
||||
$startBlock = $this->level->getBlock(Vector3::createVector($startClone->x, $startClone->y, $startClone->z)->floor());
|
||||
$pos = Vector3::createVector($startClone->x, $startClone->y, $startClone->z);
|
||||
$startBlock = $this->level->getBlock($pos->floor());
|
||||
|
||||
if($this->getXLength($direction) > $mainDirection){
|
||||
$this->mainFace = $this->getXFace($direction);
|
||||
|
Reference in New Issue
Block a user