Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Commit 87b465a

Browse files
committed
Gaud
I need fourteen werewolves
1 parent 5965931 commit 87b465a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/olympiccode/vhackos/api/entities/impl/LeaderboardsImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void reload() {
5858
JSONObject entry = dataa.optJSONObject(i);
5959
String user = entry.optString("user");
6060
int level = entry.optInt("level");
61-
double expPorcentage = Long.parseLong(entry.optString("exp").replace("%", ""));
61+
double expPorcentage = Double.parseDouble(entry.optString("exp").replace("%", ""));
6262
datal.add(new LeaderboardEntryImpl(user, level, expPorcentage));
6363
}
6464
data = datal;

0 commit comments

Comments
 (0)