Skip to content

Commit

Permalink
Null pointer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
docwho2 committed Nov 30, 2023
1 parent c303c39 commit 7efbbc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public abstract class Action<A extends Action, R extends ResponseAction> impleme
* @return
*/
public final R getActionData() {
if (event.getActionData().getType().equals(getActionType())) {
if (event.getActionData() != null && event.getActionData().getType().equals(getActionType())) {
return (R) event.getActionData();
}
return null;
Expand Down

0 comments on commit 7efbbc9

Please sign in to comment.