Jump to content

Recommended Posts

Posted

When I set my config option to true in the Config GUI, it doesn't save the change. I set up a System.out.println("[ModCompat] Code Activated"); in the onConfigChanged code, as shown below, and it doesn't activate after setting the config in the Config GUI.

 

  Reveal hidden contents

 

If I helped please press the Thank You button.

 

Check out my mods at http://www.curse.com/users/The_Fireplace/projects

Posted
  On 10/1/2014 at 11:29 PM, diesieben07 said:

You need to register your EventHandler to the EventBus.

Ok, I've done that, and it still does the same thing. Here is the new code:

Main Class:

 

  Reveal hidden contents

 

And the ConfigChangedHandler:

 

  Reveal hidden contents

 

EDIT: Another piece of possibly important information: My config is in a subcategory of the main GUI Config, like the way the Minecraft Forge config GUI is set up.

If I helped please press the Thank You button.

 

Check out my mods at http://www.curse.com/users/The_Fireplace/projects

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.