Started by
alttest255671
on
Topic category: Troubleshooting, bugs, and solutions
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
Procedure is executed on client and server side. You may need to guard code to only run on server. See https://mcreator.net/wiki/developing-multiplayer-compatible-mods
Understood! Works as intended now