Skip to content

Commit

Permalink
Fix Server#isMember(User)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian committed Sep 27, 2020
1 parent cc35c93 commit 0600d5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ public Optional<Member> getRealMemberById(long userId) {
@Override
public boolean isMember(User user) {
return api.getEntityCache().get().getMemberCache()
.getMemberByIdAndServer(id, getId())
.getMemberByIdAndServer(user.getId(), getId())
.isPresent();
}

Expand Down

0 comments on commit 0600d5d

Please sign in to comment.