PrismarineJS / PrismarineJS/minecraft-data

Update blockdata soul_lantern

Open
#339 0 comments 0 reactions 1 assignee View on GitHub

@nickelpro is already working on this.

Since Jul 27, 2021.

bug
Dominant language
JavaScript
Stars
938
Forks
294
Avg merge
2d 10h
Merged PRs (30d)
23

Description

I have the exact same issue as this https://github.com/PrismarineJS/mineflayer/issues/1172 but with soul_lantern.

As soon as mineflayer is close to a soul_lantern, the following exception pops:

prismarine-physics/index.js:107
            for (const shape of block.shapes) {
                                      ^

TypeError: block.shapes is not iterable
    at getSurroundingBBs (x/node_modules/prismarine-physics/index.js:107:39)
    at moveEntity (x/node_modules/prismarine-physics/index.js:151:28)
    at moveEntityWithHeading (x/node_modules/prismarine-physics/index.js:361:7)
    at Object.Physics.physics.simulatePlayer (x/node_modules/prismarine-physics/index.js:551:5)
    at Timeout.doPhysics [as _onTimeout] (x/node_modules/mineflayer/lib/plugins/physics.js:61:17)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)
minecraft-data@2.69.1
mineflayer@2.32.0
mineflayer-pathfinder@1.0.11
prismarine-world@3.1.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.