lua particle API safety measures