From fc303aaa052d7193017842e5688e0261f87362cc Mon Sep 17 00:00:00 2001 From: gsd Date: Thu, 16 Feb 2023 15:19:02 +0300 Subject: [PATCH] error cast steam64 --- 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 dfb3bd5..5acaece 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.parseLong(steam64); + this.steam64 = Long.valueOf(steam64); this.community_url = String.format("https://steamcommunity.com/profiles/%s", steam64); this.account_id = account_id; }