Skip to content

Commit

Permalink
use double for credits
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Aug 2, 2021
1 parent ae36ceb commit 45c256d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/exaroton/api/account/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class Account {
/**
* credit count
*/
private final int credits;
private final double credits;


public Account(String name, String email, boolean verified, int credits) {
Expand All @@ -43,7 +43,7 @@ public boolean getVerified() {
return verified;
}

public int getCredits() {
public double getCredits() {
return credits;
}
}

0 comments on commit 45c256d

Please sign in to comment.