LuckPerms

LuckPerms

41.4k Downloads

`NodeRemoveEvent` not posted when using `set parent`

drunderscore opened this issue ยท 1 comments

commented

Description

Subscribing to the NodeRemoveEvent, I expect to see whenever a node is removed, explicitly or implicitly.
Doing the following commands:

/lp user TheUsername parent set lmao
/lp user TheUsername parent set default

Will call NodeAddEvent for both lmao and default, but will not call NodeRemoveEvent for the nodes it is clearing. In this case, I expect setting the parent to default to call this event for lmao.

The response message says "had their existing parent groups cleared", so I expect the remove event to be called as they are being removed.

Environment details

[00:37:47 INFO]: Checking version, please wait...
[00:37:48 INFO]: This server is running Paper version git-Paper-133 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: b32a3b1)
You are 90 version(s) behind

[00:37:59 INFO]: LuckPerms version 5.3.64

commented

Resolved by this conversation.