(EAP 2024.3 Snapshot) GUI Button Triggers OnClick Procedure Twice

Started by alttest255671 on

Topic category: Troubleshooting, bugs, and solutions

Active 1 month ago
Joined Jul 2024
Points:
94

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 14
(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

Active 1 month ago
Joined Jul 2024
Points:
94

User statistics:

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

Understood! Works as intended now