Please use getUniqueId() instead (IP + clientId + name combo, in the future it'll change to real UUID for online
auth)
public getClientId ( ) |
private function private_onLogin(Player $player) { /** @var string|LoginDataQuery $LoginQuery */ $LoginQuery = $this->main->getLoginQueryImpl(); /** @noinspection PhpDeprecationInspection */ new $LoginQuery($this->main, $player->getId(), $player->getName(), $player->getAddress(), $player->getClientId()); }