Global triggers are happening twice!

Status
Resolved
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!

Issue comments

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

More on https://mcreator.net/wiki/developing-multiplayer-compatible-mods

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.