So I'm trying to get a GUI I made to work with forge. On its own, the GUI works properly (doesn't have any function, but everything shows and settings save on it). While trying to integrate it with forge, I created a class that allows the gui to be opened with a keybind. However, for whatever reason this causes the GUI to open for 1 second then the minecraft and all crashes. Any ideas?
Crash log attached.
crash-2017-08-25_13.37.03-client.txt