BlockSniper
BlockSniper copied to clipboard
Chunk not found for block
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 ---