(EAP 2024.3 Snapshot) GUI Button Triggers OnClick Procedure Twice

Started by alttest255671 on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(EAP 2024.3 Snapshot) GUI Button Triggers OnClick Procedure Twice

Steps to reproduce:

-Make procedure that simply prints "Procedure called"

-Make GUI with a button

-Assign the procedure to "On button clicked"

-Assign the GUI to a dummy block with blockEntity enabled and allow right-click to open GUI

-Run the client, place the block and click the button in its GUI

Expected:

-Prints "Procedure called" in the console once

Observed:

-Prints "Procedure called" in the console twice

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Understood! Works as…
Tue, 08/27/2024 - 18:19

Understood! Works as intended now