Jump to content
  • 0

LegacyWrapper Causes Forge to not Load with De-AWT Mods


jredfox_

Question

LegacyWrapper Version 1.2
Technic version: latest
Issue: deawt mods cause minecraft with forge to not load the game and exit with no stacktrace or crash report (my mod dpi-fix mod included)

Solution:
net.technicpack.legacywrapper.Frame#runGame needs to call these two lines before calling  this.minecraft.init(); (aka minecraft's applet init)
this.minecraft.setPreferredSize(new Dimension(this.getWidth(), this.getHeight()));
 this.pack();


Also remove code:
this.setDefaultCloseOperation(3);

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...