Skip to content

Commit

Permalink
Fixed FiveM protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
George-Cristian TUDORAN committed May 15, 2023
1 parent 76e494b commit f6a315f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 📊 Game Server Query

Current version: **1.0.17**
Current version: **1.0.18**

### [Inspiration: GameQ by AustinB](https://github.com/Austinb/GameQ)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gasjki/game-server-query",
"description": "GameServerQuery - Extended PHP game server query library based on GameQ.",
"version": "1.0.17",
"version": "1.0.18",
"type": "library",
"license": "LGPL-3.0+",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/GameServerQuery/Protocol/Games/Other/FiveMProtocol.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function processInformation(array $data, Result $result): void
*/
protected function processPlayers(array $data, Result $result): void
{
if (null === $result->getRule(Result::GENERAL_HOSTNAME_SUBCATEGORY)) {
if (null === $result->getInformation(Result::GENERAL_HOSTNAME_SUBCATEGORY)) {
return; // Don't add any player information if we failed to fetch server information.
}

Expand Down

0 comments on commit f6a315f

Please sign in to comment.