Started by
MisterLuxo
on
Topic category: Help with Minecraft modding (Java Edition)
When i right clicked on the girl, she gives me more than 1 flower, when she should give me just 1.
https://www.youtube.com/watch?v=rSDoKXrMjwg
Topic category: Help with Minecraft modding (Java Edition)
When i right clicked on the girl, she gives me more than 1 flower, when she should give me just 1.
https://www.youtube.com/watch?v=rSDoKXrMjwg
How can i fix that?
It's not as much of a bug as a limitation with procedures. To make procedures work both on servers and on clients, they need to be executed on both sides and sometimes that sadly leads to some side effects. You could try adding a check to test whether the procedure is executed on the server or client side and make sure you only run the server-side one.