Jump to content

Recommended Posts

Posted

Hi

 

TWItems.twsigilshard is null.

Which probably means that either your TWItems.Init is not running for some reason, or you have accidentally overwritten it.

 

I'd suggest you add a couple of breakpoints in your debugger, or alternatively add a few logging statements System.out.println to see what is happening.

 

-TGG

Posted

Hi

 

TWItems.twsigilshard is null.

Which probably means that either your TWItems.Init is not running for some reason, or you have accidentally overwritten it.

 

I'd suggest you add a couple of breakpoints in your debugger, or alternatively add a few logging statements System.out.println to see what is happening.

 

-TGG

That does seem to be the point because I tried assigning the icon of a vanilla item and it worked.I'll edit the code a bit and see.

Thank you a lot my good sir.

 

Update: The problem was in my Init code as in the TWItems.Enit I intialized the item with Item before making it anew Item that is inaccesable by other classes which kinda makes sense why the twsigilshard was null.

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.