Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Fix some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Zone-Infinity committed Jan 22, 2022
1 parent c410aa2 commit 2dde468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion ibl4j/src/main/java/me/infinity/ibl/IBL.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ static void getUserInfo(String userID, Consumer<IBLUser> userConsumer) {
Request request = new Request.Builder()
.get()
.url(BASE_URL + "user/" + userID)

.build();

IBLCall.fetch(request, IBLUser.class, response -> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package me.infinity.ibl.data.entities;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class IBLUser {
@JsonIgnore
private boolean exists = true;
Expand All @@ -28,10 +30,6 @@ public boolean exists() {
return exists;
}

public boolean isExists() {
return exists;
}

public String getNickname() {
return nickname;
}
Expand Down

0 comments on commit 2dde468

Please sign in to comment.