Global triggers are happening twice!

Issue description

So I am working on a mod that adds in a new dog, the image I attached is the global trigger I am using and it all works, the issue is it is spawning the dog twice, I have heard other people are running into the double trigger issue as well!

Attachment Size
My procedure!105.01 KB 105.01 KB

Issue comments

This happens because MC has two sides. Client and server-side. Ensure that event only runs on the server-side.

More on

For such procedures to work, you need to wrap your procedure (the whole part that depends on random condition) with if statement that checks if the current world is server-side:

if NOT "Is provided world remote (client-side)"

    (your existing procedure)

You can find "Is provided world remote (client-side)" procedure block in the "World data" procedure blocks section.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.