Keeps on crashing after accessing slots from a gui saving

Started by mods are fun on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Keeps on crashing after accessing slots from a gui saving

Basicly i tried making a gui link with a keybind. It uses global variables to save the slots after the gui is closed. When the gui is opened it is meant to load the slots. When I reopen the gui it crashed the game! 
Crash Report:
https://pastebin.com/1E7uqVms