From a5073b91e5d7c4ecdd4ce3281b1748ff3d213191 Mon Sep 17 00:00:00 2001 From: gsd Date: Thu, 16 Feb 2023 15:31:24 +0300 Subject: [PATCH] error cast steam64 3 --- src/main/java/app/entities/other/SteamID.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/app/entities/other/SteamID.java b/src/main/java/app/entities/other/SteamID.java index 9d84b6a..71bd147 100644 --- a/src/main/java/app/entities/other/SteamID.java +++ b/src/main/java/app/entities/other/SteamID.java @@ -18,7 +18,7 @@ public class SteamID { public SteamID(String steam3, String steam2, String steam64, long account_id) { this.steam3 = steam3; this.steam2 = steam2; - this.steam64 = Long.valueOf(steam64).longValue(); + this.steam64 = Long.parseLong(steam64, 20); this.community_url = String.format("https://steamcommunity.com/profiles/%s", steam64); this.account_id = account_id; }