Skip to content

Commit

Permalink
Fix vehicle passengers array in entities being null
Browse files Browse the repository at this point in the history
  • Loading branch information
Dueel authored Feb 14, 2025
1 parent 33627f7 commit 32641bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plugins/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ function inject (bot) {
entity.kind = entityData.category
entity.height = entityData.height
entity.width = entityData.width
entity.passengers = []
} else {
// unknown entity
entity.type = 'other'
Expand Down

0 comments on commit 32641bf

Please sign in to comment.