The "When closing the GUI" trigger does not work.

Started by AMonsterl on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The "When closing the GUI" trigger does not work.

I made a procedure in which there is a variable, and when closing the GUI, the variable is assigned the number 1, and it should appear in the overlay, but when closing the GUI, 0 is displayed instead of 1, which indicates that the trigger "when closing the GUI" does not work. How can it be fixed, or can it be done in some other way?