Skip to content

Commit

Permalink
Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed Sep 13, 2024
1 parent 785cc63 commit 4127139
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rustplus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@

__name__ = "rustplus"
__author__ = "olijeffers0n"
__version__ = "6.0.1"
__version__ = "6.0.2"
__support__ = "Discord: https://discord.gg/nQqJe8qvP8"
2 changes: 1 addition & 1 deletion rustplus/identification/server_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(
secure: bool = False,
) -> None:
self.ip = str(ip)
self.port = str(port)
self.port = str(port) if port is not None else port
self.player_id = int(player_id)
self.player_token = int(player_token)
self.secure = secure
Expand Down
2 changes: 1 addition & 1 deletion rustplus/rust_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ async def set_entity_value(self, eid: int, value: bool = False) -> None:
packet = await self._generate_request()
set_value = AppSetEntityValue()
set_value.value = value
packet.set_entity_value = AppEmpty()
packet.set_entity_value = set_value
packet.entity_id = eid

await self.ws.send_message(packet, True)
Expand Down

0 comments on commit 4127139

Please sign in to comment.