Skip to content

Commit

Permalink
modify: fix null problem
Browse files Browse the repository at this point in the history
  • Loading branch information
MidCoard committed Mar 18, 2022
1 parent 3d306d7 commit cdcb2e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/top/focess/qq/api/command/CommandSender.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public Friend getFriend() {
*
* @return true if this CommandSender presents a Mirai Friend instance, false otherwise
*/
@EnsuresNonNullIf(expression = "getFriend()", result = true)
public boolean isFriend() {
return isFriend;
}
Expand Down

0 comments on commit cdcb2e9

Please sign in to comment.