Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunk not found for block #152

Open
alvin0319 opened this issue Dec 10, 2021 · 0 comments
Open

Chunk not found for block #152

alvin0319 opened this issue Dec 10, 2021 · 0 comments

Comments

@alvin0319
Copy link
Contributor

Description

When the player try to brush to an ungenerated chunk (or unloaded), the following error occurs and unable to use brush:

[20:14:05.991] [Server thread/CRITICAL]: Could not execute asynchronous task BrushTask: Task crashed
[20:14:05.988] [AsyncWorker#1 thread/CRITICAL]: InvalidArgumentException: "chunk not found for block" (EXCEPTION) in "/home/matrix/matrix/plugins/BlockSniper_dev-654.phar/src/BlockHorizons/BlockSniper/brush/async/tasks/BrushTask" at line 120
--- Stack trace ---
  #0 /home/matrix/matrix/plugins/BlockSniper_dev-654.phar/src/BlockHorizons/BlockSniper/brush/type/DrainType(25): BlockHorizons\BlockSniper\brush\async\tasks\BrushTask->blocks(object BlockHorizons\BlockSniper\brush\shape\SphereShape#71673, array[19])
  #1 /home/matrix/matrix/plugins/BlockSniper_dev-654.phar/src/BlockHorizons/BlockSniper/brush/async/tasks/BrushTask(98): BlockHorizons\BlockSniper\brush\type\DrainType->fill()
  #2 pmsrc/src/scheduler/AsyncTask(84): BlockHorizons\BlockSniper\brush\async\tasks\BrushTask->onRun()
  #3 (): pocketmine\scheduler\AsyncTask->run()
--- End of exception information ---

Versions

  • PocketMine version:
[20:16:25.356] [Server thread/INFO]: This server is running PocketMine-MP
[20:16:25.356] [Server thread/INFO]: Server version: 4.0.1 (git hash: 036b90d2472ab317305d3724f69dc498d424e07c)
[20:16:25.357] [Server thread/INFO]: Compatible Minecraft version: 1.18.0 (protocol version: 475)
[20:16:25.358] [Server thread/INFO]: PHP version: 8.0.12
[20:16:25.358] [Server thread/INFO]: PHP JIT: not supported
[20:16:25.358] [Server thread/INFO]: Operating system: linux
  • BlockSniper version: 4.0.0
  • Minecraft version: 1.18.1

Crashdump and/or console errors

[20:14:05.991] [Server thread/CRITICAL]: Could not execute asynchronous task BrushTask: Task crashed
[20:14:05.988] [AsyncWorker#1 thread/CRITICAL]: InvalidArgumentException: "chunk not found for block" (EXCEPTION) in "/home/matrix/matrix/plugins/BlockSniper_dev-654.phar/src/BlockHorizons/BlockSniper/brush/async/tasks/BrushTask" at line 120
--- Stack trace ---
  #0 /home/matrix/matrix/plugins/BlockSniper_dev-654.phar/src/BlockHorizons/BlockSniper/brush/type/DrainType(25): BlockHorizons\BlockSniper\brush\async\tasks\BrushTask->blocks(object BlockHorizons\BlockSniper\brush\shape\SphereShape#71673, array[19])
  #1 /home/matrix/matrix/plugins/BlockSniper_dev-654.phar/src/BlockHorizons/BlockSniper/brush/async/tasks/BrushTask(98): BlockHorizons\BlockSniper\brush\type\DrainType->fill()
  #2 pmsrc/src/scheduler/AsyncTask(84): BlockHorizons\BlockSniper\brush\async\tasks\BrushTask->onRun()
  #3 (): pocketmine\scheduler\AsyncTask->run()
--- End of exception information ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants