mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
World: remove unused variable
This commit is contained in:
parent
19513c65f0
commit
2fc33d3bff
@ -1804,7 +1804,7 @@ class World implements ChunkManager{
|
||||
foreach($tx->getBlocks() as [$x, $y, $z, $block]){
|
||||
$block->position($this, $x, $y, $z);
|
||||
foreach($block->getCollisionBoxes() as $collisionBox){
|
||||
if(count($entities = $this->getCollidingEntities($collisionBox)) > 0){
|
||||
if(count($this->getCollidingEntities($collisionBox)) > 0){
|
||||
return false; //Entity in block
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user