CortexPE / Hierarchy

[WIP] It's time to ditch PurePerms and PureChat. // Innovative role-based permission management system
GNU Affero General Public License v3.0
61 stars 11 forks source link

Role-related Events call ordering #30

Closed intagaming closed 4 years ago

intagaming commented 4 years ago

Problem: The MemberRoleUpdateEvent is called too soon, before doing any change to the Member.

Reproduce: HRKChat will not update the nametag, because the data is not up to "the moment".

Since all role-related events (specifically MemberRoleAddEvent and MemberRoleRemoveEvent) is uncancellable, I suggest moving them down after doing changes.