Closed FikzyyCraft closed 1 year ago
PocketMine-MP Crash Dump Sun Sep 3 01:39:16 CDT 2023
PocketMine-MP version: 5.4.3 [Protocol 594] Git commit: e852a4382116705d7558fd808f1b388666b0c0cb PHP version: 8.1.22 OS: Linux, linux
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: MultiWorld
Thread: AsyncWorker#0 Error: Object of class pocketmine\block\utils\DyeColor could not be converted to int File: plugins/MultiWorld_dev-286.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/ground/MesaGroundGenerator Line: 145 Type: ErrorException Backtrace:
Code: [136] $this->setColoredGroundLayer($world, $x, $y, $z, $color); [137] } [138] } [139] } [140] } [141] } [142] } [143] [144] private function setColoredGroundLayer(ChunkManager $world, int $x, int $y, int $z, DyeColor $color) : void{ [145] $world->setBlockAt($x, $y, $z, $color >= 0 ? VanillaBlocks::STAINED_CLAY()->setColor($color) : VanillaBlocks::HARDENED_CLAY()); [146] } [147] [148] private function setRandomLayerColor(Random $random, int $minLayerCount, int $minLayerHeight, DyeColor $color) : void{ [149] for($i = 0; $i < $random->nextBoundedInt(4) + $minLayerCount; ++$i){ [150] $j = $random->nextBoundedInt(count($this->colorLayer)); [151] $k = 0; [152] while($k < $random->nextBoundedInt(3) + $minLayerHeight && $j < count($this->colorLayer)){ [153] $this->colorLayer[$j++] = $color; [154] ++$k; [155] }
PocketMine-MP Crash Dump Sun Sep 3 01:39:16 CDT 2023
PocketMine-MP version: 5.4.3 [Protocol 594] Git commit: e852a4382116705d7558fd808f1b388666b0c0cb PHP version: 8.1.22 OS: Linux, linux
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: MultiWorld
Thread: AsyncWorker#0 Error: Object of class pocketmine\block\utils\DyeColor could not be converted to int File: plugins/MultiWorld_dev-286.phar/src/czechpmdevs/multiworld/libs/muqsit/vanillagenerator/generator/ground/MesaGroundGenerator Line: 145 Type: ErrorException Backtrace:
Code: [136] $this->setColoredGroundLayer($world, $x, $y, $z, $color); [137] } [138] } [139] } [140] } [141] } [142] } [143] [144] private function setColoredGroundLayer(ChunkManager $world, int $x, int $y, int $z, DyeColor $color) : void{ [145] $world->setBlockAt($x, $y, $z, $color >= 0 ? VanillaBlocks::STAINED_CLAY()->setColor($color) : VanillaBlocks::HARDENED_CLAY()); [146] } [147] [148] private function setRandomLayerColor(Random $random, int $minLayerCount, int $minLayerHeight, DyeColor $color) : void{ [149] for($i = 0; $i < $random->nextBoundedInt(4) + $minLayerCount; ++$i){ [150] $j = $random->nextBoundedInt(count($this->colorLayer)); [151] $k = 0; [152] while($k < $random->nextBoundedInt(3) + $minLayerHeight && $j < count($this->colorLayer)){ [153] $this->colorLayer[$j++] = $color; [154] ++$k; [155] }
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
System information (please complete the following information):
Additional context Add any other context about the problem here.