Fix #1362 : Adds cancellable event that fires before passives are changed
Closes #1362 (closed).
The arguments passed to the event in order are:
-
passiveResult
is an object with a keysuccess
, 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