Trying to apply status effects via GUI, crashes when pressing the button.

Started by Planqqc on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to apply status effects via GUI, crashes when pressing the button.

Currently trying to make a semi roleplay focused mod. I would like to be able to apply buffs via a gui, the gui is working but when I try to apply the effects the game crashes.

I was hoping someone would be willing to look at the code I have set up and offer there hand to help :)

 

https://imgur.com/a/J0G38Ay