Jump to content

1.6.4 Instance in GuiHandler not registering


Recommended Posts

Heya friends! So I will be honest, I am pretty new at modding. I have been following vswe's modding tutorials and loving it so far. But I have seemed to be caught up on something. I am trying to create a Gui handler for a block I am trying to create but at this line   


public GuiHandler() {

        NetworkRegistry.instance().registerGuiHandler(Spartsextras.instance, this);}




The "Spartsextras.instance" isn't registering as the instance. it does in the blocks main file though so it does work..... any and all help would be much appreciated! I will leave pastebins of my main mod file and the GuiHandler File. let me know if you need anything else!


Main mod file





GuiHandler File



Link to comment
Share on other sites

  • 4 months later...

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.

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.