remove a couple more Position->getWorld() usages

This commit is contained in:
Dylan K. Taylor
2020-05-19 21:38:51 +01:00
parent 81dff6d4c5
commit 3f1f135a59
4 changed files with 4 additions and 15 deletions

View File

@ -163,7 +163,7 @@ class Block{
}
}
if($oldTile === null and $tileType !== null){
$this->pos->getWorldNonNull()->addTile(TileFactory::getInstance()->create($tileType, $this->pos->getWorld(), $this->pos->asVector3()));
$this->pos->getWorldNonNull()->addTile(TileFactory::getInstance()->create($tileType, $this->pos->getWorldNonNull(), $this->pos->asVector3()));
}
}