1 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/Decorator(23): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\overworld\decorator\MushroomDecorator->decorate(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
2 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/overworld/populator/biome/BiomePopulator(199): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\Decorator->populate(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
3 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/overworld/populator/biome/BiomePopulator(188): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\overworld\populator\biome\BiomePopulator->populateOnGround(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
4 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/overworld/populator/OverworldPopulator(78): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\overworld\populator\biome\BiomePopulator->populate(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
5 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/VanillaGenerator(90): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\overworld\populator\OverworldPopulator->populate(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
6 pmsrc/src/world/generator/PopulationTask(103): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\VanillaGenerator->populateChunk(object pocketmine\world\SimpleChunkManager#136757, int -31, int -21)
PocketMine-MP version: 5.4.3 [Protocol 594] Git commit: e852a4382116705d7558fd808f1b388666b0c0cb PHP version: 8.1.22 OS: Linux, linux
A PLUGIN WAS INVOLVED IN THIS CRASH BAD PLUGIN: MultiWorld
Thread: AsyncWorker#3 Error: Modulo by zero File: pmsrc/src/utils/Random Line: 124 Type: DivisionByZeroError Backtrace:
0 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/overworld/decorator/MushroomDecorator(49): pocketmine\utils\Random->nextBoundedInt(int 0)
1 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/Decorator(23): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\overworld\decorator\MushroomDecorator->decorate(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
2 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/overworld/populator/biome/BiomePopulator(199): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\Decorator->populate(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
3 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/overworld/populator/biome/BiomePopulator(188): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\overworld\populator\biome\BiomePopulator->populateOnGround(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
4 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/overworld/populator/OverworldPopulator(78): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\overworld\populator\biome\BiomePopulator->populate(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
5 /home/container/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/VanillaGenerator(90): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\overworld\populator\OverworldPopulator->populate(object pocketmine\world\SimpleChunkManager#136757, object pocketmine\utils\Random#143137, int -31, int -21, object pocketmine\world\format\Chunk#136677)
6 pmsrc/src/world/generator/PopulationTask(103): czechpmdevs\multiworld\libs\muqsit\vanillagenerator\generator\VanillaGenerator->populateChunk(object pocketmine\world\SimpleChunkManager#136757, int -31, int -21)
7 pmsrc/src/scheduler/AsyncTask(82): pocketmine\world\generator\PopulationTask->onRun()
8 (): pocketmine\scheduler\AsyncTask->run()
Code: [115] [116] @param int $start default 0 [117] @param int $end default 0x7fffffff [118] / [119] public function nextRange(int $start = 0, int $end = 0x7fffffff) : int{ [120] return $start + ($this->nextInt() % ($end + 1 - $start)); [121] } [122] [123] public function nextBoundedInt(int $bound) : int{ [124] return $this->nextInt() % $bound; [125] } [126] }