File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 4.27.0
2+ * [ Entity Passengers get pushed wrongly (#3601 )] ( https://github.com/PrismarineJS/mineflayer/commit/deb03b52d1e015ece9df1f14536f168f64895c81 ) (thanks @SinanAkkoyun )
3+ * [ Update bot.clickWindow documentation (#3574 )] ( https://github.com/PrismarineJS/mineflayer/commit/188db17bbb95461743aec2823695c360685559b0 ) (thanks @kaduvert )
4+ * [ Saving uuid for non-players too (#3603 )] ( https://github.com/PrismarineJS/mineflayer/commit/9937be9b49bb3dd7cd5502c0424809fa66eb60b3 ) (thanks @SinanAkkoyun )
5+
16## 4.26.0
27* [ Use node 22 (#3570 )] ( https://github.com/PrismarineJS/mineflayer/commit/dbff9314418d30df203c32fe83f2a1b56653d0a6 ) (thanks @rom1504 )
38* [ Fix infinity setTimeout by throwing error (#3561 )] ( https://github.com/PrismarineJS/mineflayer/commit/69539494c88c2ca718330142839a35414ecd3bda ) (thanks @BBpezsgo )
Original file line number Diff line number Diff line change @@ -813,7 +813,9 @@ function inject (bot) {
813813 originalVehicle . passengers . splice ( index , 1 )
814814 }
815815 passenger . vehicle = vehicle
816- vehicle . passengers . push ( passenger )
816+ if ( vehicle ) {
817+ vehicle . passengers . push ( passenger )
818+ }
817819
818820 if ( packet . entityId === bot . entity . id ) {
819821 const vehicle = bot . vehicle
Original file line number Diff line number Diff line change 11{
22 "name" : " mineflayer" ,
3- "version" : " 4.26 .0" ,
3+ "version" : " 4.27 .0" ,
44 "description" : " create minecraft bots with a stable, high level API" ,
55 "main" : " index.js" ,
66 "types" : " index.d.ts" ,
You can’t perform that action at this time.
0 commit comments