#32 BetterGen problem

Open
opened 1 year ago by iZeaoGamer · 1 comments

So whenever I go to different biomes (or specifically biomes), I’m experiencing this error in console:

TypeError: “Argument 4 passed to pocketmine\level\Position::construct() must be an instance of pocketmine\level\Level or null, instance of pocketmine\level\SimpleChunkManager given, called in /plugins/BetterGen-loottables/src/Ad5001/BetterGen/structure/Temple.php on line 151” (EXCEPTION) in “src/pocketmine/level/Position” at line 40 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #0 BetterGen-loottables/src/Ad5001/BetterGen/structure/Temple(151): pocketmine\level\Position->construct(integer -87, integer 56, integer 26, pocketmine\level\SimpleChunkManager object) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #1 BetterGen-loottables/src/Ad5001/BetterGen/populator/TemplePopulator(49): Ad5001\BetterGen\structure\Temple->placeObject(pocketmine\level\SimpleChunkManager object, integer -87, integer 67, integer 24, pocketmine\utils\Random object) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #2 src/pocketmine/level/biome/Biome(132): Ad5001\BetterGen\populator\TemplePopulator->populate(pocketmine\level\SimpleChunkManager object, integer -6, integer 1, pocketmine\utils\Random object) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #3 BetterGen-loottables/src/Ad5001/BetterGen/generator/BetterNormal(370): pocketmine\level\biome\Biome->populateChunk(pocketmine\level\SimpleChunkManager object, integer -6, integer 1, pocketmine\utils\Random object) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #4 src/pocketmine/level/generator/PopulationTask(104): Ad5001\BetterGen\generator\BetterNormal->populateChunk(integer -6, integer 1) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #5 src/pocketmine/scheduler/AsyncTask(72): pocketmine\level\generator\PopulationTask->onRun() 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #6 (): pocketmine\scheduler\AsyncTask->run() 30.09 21:21:52 [Server] Server thread/CRITICAL Could not execute asynchronous task PopulationTask: Task crashed I do hope you fix this issue with BetterGen. Just let me know what you think on it. Thank you.

So whenever I go to different biomes (or specifically biomes), I'm experiencing this error in console: TypeError: "Argument 4 passed to pocketmine\level\Position::__construct() must be an instance of pocketmine\level\Level or null, instance of pocketmine\level\SimpleChunkManager given, called in /plugins/BetterGen-loottables/src/Ad5001/BetterGen/structure/Temple.php on line 151" (EXCEPTION) in "src/pocketmine/level/Position" at line 40 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #0 BetterGen-loottables/src/Ad5001/BetterGen/structure/Temple(151): pocketmine\level\Position->__construct(integer -87, integer 56, integer 26, pocketmine\level\SimpleChunkManager object) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #1 BetterGen-loottables/src/Ad5001/BetterGen/populator/TemplePopulator(49): Ad5001\BetterGen\structure\Temple->placeObject(pocketmine\level\SimpleChunkManager object, integer -87, integer 67, integer 24, pocketmine\utils\Random object) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #2 src/pocketmine/level/biome/Biome(132): Ad5001\BetterGen\populator\TemplePopulator->populate(pocketmine\level\SimpleChunkManager object, integer -6, integer 1, pocketmine\utils\Random object) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #3 BetterGen-loottables/src/Ad5001/BetterGen/generator/BetterNormal(370): pocketmine\level\biome\Biome->populateChunk(pocketmine\level\SimpleChunkManager object, integer -6, integer 1, pocketmine\utils\Random object) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #4 src/pocketmine/level/generator/PopulationTask(104): Ad5001\BetterGen\generator\BetterNormal->populateChunk(integer -6, integer 1) 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #5 src/pocketmine/scheduler/AsyncTask(72): pocketmine\level\generator\PopulationTask->onRun() 30.09 21:21:51 [Server] Asynchronous Worker #0 thread/DEBUG #6 (): pocketmine\scheduler\AsyncTask->run() 30.09 21:21:52 [Server] Server thread/CRITICAL Could not execute asynchronous task PopulationTask: Task crashed I do hope you fix this issue with BetterGen. Just let me know what you think on it. Thank you.
Ad5001 commented 1 year ago
Owner

Hello, Which version of BetterGen are you running?

Hello, Which version of BetterGen are you running?
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.