LuckPerms

LuckPerms

41.4k Downloads

NodeAddEvent called when checking permissions

TauCubed opened this issue ยท 1 comments

commented

Reproduction steps:

  1. Set/(Join as) a user (to have/that has) no explicit group(s) or permissions.
  2. Listen for NodeAddEvent
  3. /lp user listnodes

My thoughts on why:
Perhaps the plugin adds then removes a node to display "default" groups.

Reasons why this is a bug:
Make it impractical for another plugin to listen for specific node changes

My thoughts on a solution:

  1. Add enum for checking reason for (Add|Remove)/mutate
  2. Prevent LP from firing this event for seemingly no reason.
commented