Jump to content

Recommended Posts

Posted

First i have searched the forums and found several other with a problem that looked like this, but when applying their solutions to mine, it didn't work.

 

Everytime i open my "furnace" the game chrashes, the error states a nullpointer.

 

First i have made sure that my modid and @instance is the same,

you can see in my main code below.

 

https://gist.github.com/Nekpek/a55417624d1ad9060570

 

 

need any more information i will deliver upon asked.

The code in which i state opengui looks like this

 

https://gist.github.com/Nekpek/289d32282fd88575e397

 

 

And the error which it is telling me

is

https://gist.github.com/Nekpek/1e26970c5eb43b1f4226

 

 

 

 

 

 

 

Naturalis - The easy way for nature.!

Esquire - A helping hand for your adventure.

Jimanju - The Random Disasters!

Posted

yeah its stated right below the @instance

 

like so

private final GuiHandler guihandler = new GuiHandler();

 

 

the whole GuiHandler is here

https://gist.github.com/Nekpek/406784ff4b11cd9c4624

 

It worked in 1.6.2 and since it didn't cast any errors i didn't think it would be wrong, but i might be more wrong,

Naturalis - The easy way for nature.!

Esquire - A helping hand for your adventure.

Jimanju - The Random Disasters!

Posted

Oh, Damn, I forgot that part.. Sorry.

 

 

Thank you. It is all solved

 

(had it Commented out since it changed from Instance() to INSTANCE)

Naturalis - The easy way for nature.!

Esquire - A helping hand for your adventure.

Jimanju - The Random Disasters!

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.

Announcements



×
×
  • Create New...

Important Information

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