PrismarineJS / prismarine-physics

Provide the physics engine for minecraft entities
MIT License
35 stars 41 forks source link

Fixes bot.setControlState('left', true) moves right. #73

Closed kashalls closed 2 years ago

kashalls commented 2 years ago

Fixes https://github.com/PrismarineJS/mineflayer/issues/2622.

Tested using https://github.com/PrismarineJS/mineflayer/blob/master/examples/jumper.js and https://github.com/PrismarineJS/mineflayer/blob/master/examples/pathfinder/gps.js

Fixed Demo - Jumper

Pathfinder is unaffected, this only breaks changes where users have relied on right to move left and vise versa.