WebEditor changes do not fire NodeMutateEvent, NodeAddEvent and NodeRemoveEvent
SaltyAimbOtter opened this issue ยท 1 comments
Description
The NodeMutateEvent
, NodeAddEvent
and the NodeRemoveEvent
are only fired when the Nodes are changed using in-game commands. All editor changes are ignored.
Reproduction steps
- Register listeners for
NodeMutateEvent
,NodeAddEvent
and theNodeRemoveEvent
. - Make them print a debug message.
- Compile plugin and put it on the server.
- Run
/lp user <name> permission set <somePermission>
-> See debug message - Do the same thing from the editor
- Save editor changes using command -> There is no debug message / The listeners are not getting called.
Expected behaviour
I would expect the NodeMutateEvent
, NodeAddEvent
and the NodeRemoveEvent
to reflect any change to the Nodes state, not depending on which service changed them.
Environment details
- Server type/version:
Paper
running version1.16.5
git-Paper-372
- LuckPerms version:
v5.2.92