Event is always triggered twice

Published by fyc12365 on Tue, 02/19/2019 - 08:44
Status
Works as designed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I add a item that lightning strike player when it is used.but both lightning and message appear twice.

Issue comments

Some events are triggered twice. This means that they are triggered on the server and on the client side of the Minecraft. If you don't want this, put all your blocks of procedure in if statement and use Is provided world server side block from World data tab to only run this code on the server side.



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.