Skip to content

Commit

Permalink
Update src/main/java/net/dv8tion/jda/api/entities/Entitlement.java
Browse files Browse the repository at this point in the history
Co-authored-by: Marcel Korzonek <[email protected]>
  • Loading branch information
Giuliopime and Xirado authored Nov 21, 2023
1 parent 80d14a8 commit 4deb50c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/net/dv8tion/jda/api/entities/Entitlement.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ default String getApplicationId()
@Nullable
default String getUserId()
{
if (getUserIdLong() == null) {
if (getUserIdLong() == null)
return null;
}

return Long.toUnsignedString(getUserIdLong());
}
Expand Down

0 comments on commit 4deb50c

Please sign in to comment.