Jump to content

Recommended Posts

Posted

Getting NullPointException on launch with this line of code (almost 90% sure it's something to do with my sword declarations). Am not sure what to change to fix it.

 

  Reveal hidden contents

 

The (null, null) comes from where I have additional arguments in my sword classes, I am sure that is where the exception is coming from, but I do not know how to fix it.

 

  Reveal hidden contents

 

If someone could help me out on what I am supposed to use to replace (null, null) I would be most grateful.

There's 10 types of people in this world; Those that understand binary and those that don't.

Posted

Replace it with an unlocalized name and a tool material. those are the args. look at vanilla code and other mods.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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