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

Fixes fatal error. #9

Closed
wants to merge 1 commit into from
Closed

Fixes fatal error. #9

wants to merge 1 commit into from

Conversation

ZloyNick
Copy link

Fixes fatal error.

Tested.

Error stack trace:

Fatal error: Uncaught Error: Call to a member function getId() on null in D:\Dev\detreex-server\plugins#Archinheim-master\src\muqsit\vanillagenerator\generator\ground\GroundGenerator.php:138
Stack trace:
#0 D:\Dev\detreex-server\plugins#Archinheim-master\src\muqsit\vanillagenerator\generator\overworld\Normal.php(143): muqsit\vanillagenerator\generator\ground\GroundGenerator->generateTerrainColumn(Object(pocket
mine\level\SimpleChunkManager), Object(pocketmine\utils\Random), 0, 864, 140, -2.2105148196439)
#1 D:\Dev\detreex-server\plugins#Archinheim-master\src\muqsit\vanillagenerator\generator\VanillaGenerator.php(111): muqsit\vanillagenerator\generator\overworld\Normal->generateChunkData(0, 54, Object(muqsit\va
nillagenerator\generator\VanillaBiomeGrid))
#2 D:\Dev\detreex-server\src\pocketmine\level\generator\GenerationTask.php(71): muqsit\vanillagenerator\generator\VanillaGenerator->generateChunk(0, 54)
#3 D:\Dev\detreex-server\src\pocketmine\scheduler\AsyncTask.php(43): pocketmine\level\generator\GenerationTask->onRun() in D:\Dev\detreex-server\plugins#Archinheim-master\src\muqsit\vanillagenerator\generator
ground\GroundGenerator.php on line 138

@ZloyNick ZloyNick changed the title Update SnowyGroundGenerator.php Fixes fatal error. Apr 26, 2020
@Muqsit
Copy link
Owner

Muqsit commented Apr 26, 2020

This isn't really a solution. It mitigates the error from occurring by doing completely something else on SnowyGroundGenerator#13.
It's supposed to be snow by the way: https://github.com/GlowstoneMC/Glowstone/blob/dev/src/main/java/net/glowstone/generator/ground/SnowyGroundGenerator.java#L6

@Muqsit Muqsit closed this Apr 26, 2020
@ZloyNick
Copy link
Author

Okay. When you will add structures?

@inxomnyaa
Copy link

Gh is not a chat platform

@ipad54 ipad54 mentioned this pull request Nov 18, 2020
@ibratabian17 ibratabian17 mentioned this pull request Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants