Skip to content

Commit

Permalink
plugins/remote-actions-extra: Fix potential null pointer.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosousadias committed Jan 14, 2025
1 parent fa12fa8 commit 60976b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void on(ConsoleEventMainSystemChange evt) {
public void on(EntityState msg) {
try {
if (!msg.getSourceName().equals(parent.getMainVehicleId())
|| !msg.getEntityName().equals(entityName)) {
|| !entityName.equals(msg.getEntityName())) {
return;
}
} catch (Exception e) {
Expand Down

0 comments on commit 60976b1

Please sign in to comment.