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

[BUG]: Nether and End generator task is crashing in PM4 #241

Closed
supercrafter333 opened this issue Dec 15, 2021 · 0 comments
Closed

[BUG]: Nether and End generator task is crashing in PM4 #241

supercrafter333 opened this issue Dec 15, 2021 · 0 comments

Comments

@supercrafter333
Copy link
Contributor

Nether:

[16:52:27.249] [Server thread/CRITICAL]: Could not execute asynchronous task PopulationTask: Task crashed
[16:52:27.213] [AsyncWorker#0 thread/CRITICAL]: DivisionByZeroError: "Division by zero" (EXCEPTION) in "/home/Cb1/plugins/MultiWorld (4).phar/src/czechpmdevs/multiworld/generator/nether/populator/Ore" at line 63
--- Stack trace ---
  #0 /home/Cb1/plugins/MultiWorld (4).phar/src/czechpmdevs/multiworld/generator/nether/populator/Ore(46): czechpmdevs\multiworld\generator\nether\populator\Ore->placeObject(object pocketmine\world\generator\object\OreType#79923, object pocketmine\utils\Random#78328, object pocketmine\world\SimpleChunkManager#75871, integer 270, integer 27, integer 271)
  #1 /home/Cb1/plugins/MultiWorld (4).phar/src/czechpmdevs/multiworld/generator/nether/NetherGenerator(119): czechpmdevs\multiworld\generator\nether\populator\Ore->populate(object pocketmine\world\SimpleChunkManager#75871, integer 16, integer 16, object pocketmine\utils\Random#78328)
  #2 pmsrc/src/world/generator/PopulationTask(98): czechpmdevs\multiworld\generator\nether\NetherGenerator->populateChunk(object pocketmine\world\SimpleChunkManager#75871, integer 16, integer 16)
  #3 pmsrc/src/scheduler/AsyncTask(84): pocketmine\world\generator\PopulationTask->onRun()
  #4 (): pocketmine\scheduler\AsyncTask->run()
--- End of exception information ---

End:

[16:49:08.621] [Server thread/CRITICAL]: Could not execute asynchronous task PopulationTask: Task crashed
[16:49:08.600] [AsyncWorker#0 thread/CRITICAL]: Error: "Typed property czechpmdevs\multiworld\generator\ender\EnderGenerator::$world must not be accessed before initialization" (EXCEPTION) in "/home/Cb1/plugins/MultiWorld (4).phar/src/czechpmdevs/multiworld/generator/ender/EnderGenerator" at line 72
--- Stack trace ---
  #0 pmsrc/src/world/generator/PopulationTask(117): czechpmdevs\multiworld\generator\ender\EnderGenerator->generateChunk(object pocketmine\world\SimpleChunkManager#79451, integer 16, integer 16)
  #1 pmsrc/src/world/generator/PopulationTask(88): pocketmine\world\generator\PopulationTask::setOrGenerateChunk(object pocketmine\world\SimpleChunkManager#79451, object czechpmdevs\multiworld\generator\ender\EnderGenerator#79481, integer 16, integer 16, NULL )
  #2 pmsrc/src/scheduler/AsyncTask(84): pocketmine\world\generator\PopulationTask->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