Remove code from trigger

Started by DragClover on

Topic category: Troubleshooting, bugs, and solutions

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remove code from trigger
Mon, 05/06/2024 - 13:50 (edited)

I have a problem with a trigger that I made in fact when it generates the code it adds a piece of code that I don't want.

https://imgur.com/a/KCgpvsC

And so I would like to know if there is a way to prevent this piece of code from being generated

I don't want this piece of code: 

if (key == null) 
    return;

Edited by DragClover on Mon, 05/06/2024 - 13:50