I am having an issue opening a GUI for an item where it says "A mod tried to open a gui on the server without being" im sure the item will open the gui but i dont know what is causing this error, i have looked at other posts and none of the ones i found seem to work. with this i have the forge log, the main code, and the item code. if you need the code for other parts let me know and i will post it.
Forge Log:
Main Code (i have removed code that does not have to do with the item and have not caused any problems. all code left is for the item and opening the gui.):
Item Code