Skip to content

Commit

Permalink
Strict credential type enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed Sep 6, 2024
1 parent 6a86664 commit 0362fce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rustplus/identification/server_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ def __init__(
player_token: int,
secure: bool = False,
) -> None:
self.ip = ip
self.port = port
self.player_id = player_id
self.player_token = player_token
self.ip = str(ip)
self.port = str(port)
self.player_id = int(player_id)
self.player_token = int(player_token)
self.secure = secure

def get_server_string(self) -> str:
Expand Down

0 comments on commit 0362fce

Please sign in to comment.