Skip to content

Fix #1362 : Adds cancellable event that fires before passives are changed

Arkhist requested to merge Arkhist/isleward:1362-pre-passive-event into temp-v0.5

Closes #1362 (closed).

The arguments passed to the event in order are:

  • passiveResult is an object with a key success, allowing mods and components to cancel the passive change
  • passives is the passives object
  • node is the node that is trying to be ticked. If it is undefined, then the event represents an untick.
Edited by Big Bad Waffle

Merge request reports