NetworkSession: drop @var doc comment referring to nonexisting variable

This commit is contained in:
Dylan K. Taylor 2020-11-16 22:51:03 +00:00
parent c3c647d51e
commit 09b22c1e79

View File

@ -231,10 +231,7 @@ class NetworkSession{
//TODO: this really has no business being in NetworkSession at all - what about allowing it to be provided by PlayerCreationEvent? //TODO: this really has no business being in NetworkSession at all - what about allowing it to be provided by PlayerCreationEvent?
$namedtag = $this->server->getOfflinePlayerData($this->info->getUsername()); $namedtag = $this->server->getOfflinePlayerData($this->info->getUsername());
/** /** @see Player::__construct() */
* @var Player $player
* @see Player::__construct()
*/
$this->player = new $class($this->server, $this, $this->info, $this->authenticated, $namedtag); $this->player = new $class($this->server, $this, $this->info, $this->authenticated, $namedtag);
$this->invManager = new InventoryManager($this->player, $this); $this->invManager = new InventoryManager($this->player, $this);