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 4deb50c commit d7a2dd6
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 @@ -110,9 +110,8 @@ default String getUserId()
@Nullable
default String getGuildId()
{
if (getGuildIdLong() == null) {
if (getGuildIdLong() == null)
return null;
}

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

0 comments on commit d7a2dd6

Please sign in to comment.