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

Started by AMonsterl on Wed, 02/24/2021 - 11:09

Topic category: Help with modding (Java Edition)

Last seen on 16:06, 25. Feb 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The "When closing the GUI" trigger does not work.
Wed, 02/24/2021 - 11:09

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?