Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jgniecki committed Apr 29, 2023
1 parent aa46263 commit 2747817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function __construct(string $host, int $port = 25565, int $timeout = 3, b
if ($this->resolveSRV) {
$resolve = $this->resolveSRV($host);
$host = ($resolve['host'] != null)? $resolve['host'] : $host;
$port = ($resolve['port'] != null)? $resolve['port'] : $host;
$port = ($resolve['port'] != null)? $resolve['port'] : $port;
}

$this->host = $host;
Expand Down

0 comments on commit 2747817

Please sign in to comment.