The procedure I made happens twice and I can't find out why or how fix it. It's a simple procedure and have no clue how to fix this, someone please help!
It happens on client and on server side. Wrap the whole procedure with if block and for the condition, use is World server side block from World data category.
In the "World Data' section there is only an option for 'is provided world remote (client side), I've been looking and can't find an option for server side. The trigger I'm using is "When rick clicked on mob".
I have done some more checks and this is in fact because this trigger is called for both hands even if only one is clicked. A workaround for this will be released in 1.8.4. Thank you for your bug report.
I found a bug that caused it to not work. When my hotbar is full of the item, right clicking with the item on the far left (first slot) of the hotbar will only remove 1 item and execute 1 command, but if i choose to right click with the item on the far right (last slot) of the hotbar, it will execute 2 commands and remove 2 items. I have tested this multiple times and it keeps happening.
you have to put the blocks into the "if" block currently they are outside of it and it will also happen even if you didnt have the item in hand
It happens on client and on server side. Wrap the whole procedure with if block and for the condition, use is World server side block from World data category.
I tried these 2 methods and none of them working, it still happens twice.
Try negating this condition of world remote, so you check if the world is server side, not client side (remote).
What trigger do you use?
In the "World Data' section there is only an option for 'is provided world remote (client side), I've been looking and can't find an option for server side. The trigger I'm using is "When rick clicked on mob".
Just place NOT before the if from logic blocks. It will negate this condition.
Is this what you mean?
Yes
That method did not work.
I have done some more checks and this is in fact because this trigger is called for both hands even if only one is clicked. A workaround for this will be released in 1.8.4. Thank you for your bug report.
I found a bug that caused it to not work. When my hotbar is full of the item, right clicking with the item on the far left (first slot) of the hotbar will only remove 1 item and execute 1 command, but if i choose to right click with the item on the far right (last slot) of the hotbar, it will execute 2 commands and remove 2 items. I have tested this multiple times and it keeps happening.
Ok thank you! sorry for the multiple responses my browser glitched. Also I didn't read your latest reply, you found the bug before me.
This bug is back in the Minecraft 1.12.2 generator plugin.