added some typedocs

shut up PhpStorm
This commit is contained in:
Dylan K. Taylor
2017-08-21 17:17:14 +01:00
parent 672b7610a9
commit d2ace6bdd2
2 changed files with 3 additions and 0 deletions

View File

@ -1887,6 +1887,7 @@ class Level implements ChunkManager, Metadatable{
for($x = $minX; $x <= $maxX; ++$x){
for($z = $minZ; $z <= $maxZ; ++$z){
foreach($this->getChunkEntities($x, $z) as $ent){
/** @var Entity|null $entity */
if(($entity === null or ($ent !== $entity and $entity->canCollideWith($ent))) and $ent->boundingBox->intersectsWith($bb)){
$nearby[] = $ent;
}