Jump to content

New Dimension Error


creatorfromhell

Recommended Posts

at mysticrealm.common.world.biomes.MysticBiomeDecorator.decorate(MysticBiomeDecorator.java:63)

 

okay lets look at line 63:

var5.setScale(1.0D, 1.0D, 1.0D);

 

hmm what is var5? on line 62:

WorldGenerator var5 = this.biome.getRandomWorldGenForTrees(this.randomGenerator);

 

 

For some reason the value of var5 on line 63 is null, thats what the error message is saying.

So why is it null, if we look at the call on line 62 it should be instanciated but it's not.

So from the stacktrace and code we can deduce that the error is with line 62.

 

Set a breakpoint at line 62 and check what happends, I'm sure the getRandomWorldGenForTrees is returning null for some reason.

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

After stepping into the break point it led to this part of MysticBiomeGenBase.java:

 

MysticWorldGenTrees worldMysticGenTrees;
@Override
    public WorldGenerator getRandomWorldGenForTrees(Random par1)
    {
        return this.worldMysticGenTrees;
    }

 

 

and here is MysticWorldGenTrees.java:

http://paste.ubuntu.com/5585309/

Link to comment
Share on other sites

Yeah it lead to that part where it returned something.. But what was that value at that specific time?

 

I don't know what you mean, but

this.biome.getRandomWorldGenForTrees(this.randomGenerator)

leads to net.minecraft.world.biome.BiomeGenBase.getRandomWorldGenForTrees(Random par1Random)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.