We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47a41c6 commit aa26cccCopy full SHA for aa26ccc
lib/plugins/entities.js
@@ -273,7 +273,9 @@ function inject (bot) {
273
entity.headPitch = conv.fromNotchianPitchByte(packet.headPitch)
274
275
let notchVel
276
- if (bot.supportFeature('entityVelocityIsLpVec3')) {
+
277
+ // this feature is outdated. # bot.supportFeature('entityVelocityIsLpVec3')
278
+ if (packet.velocity) {
279
notchVel = new Vec3(packet.velocity.x, packet.velocity.y, packet.velocity.z)
280
} else {
281
notchVel = new Vec3(packet.velocityX, packet.velocityY, packet.velocityZ)
0 commit comments