[Bug]: LuckPerms node not saved #20
Labels
No labels
Bug
Confirmed
Crash
Documentation
Duplicate
Enhancement
High Priority
Invalid
Mod compatibility
Needs triage
Stale
Won't Fix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LunaFox/AutoWhitelist#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version information
1.0.0-alpha.1
Version type
Full
Expected Behavior
As a user, when I run
np!registeras a certain Discord role, I would like a LuckPerms group assigned to meActual Behavior
The end user is not assigned the LuckPerms group
Reproduction Steps
Configuration Setup
Discord Steps
np!register 7coilJava version
17
Additional information
In line 29 of
LuckpermsEntry.java, you are not callingUserManager#saveUser(User user)Awakened-Redstone/AutoWhitelist@c559c275a3/src/main/java/com/awakenedredstone/autowhitelist/config/compat/LuckpermsEntry.java (L29)This is required to save the user into LuckPerms, and give the correct group/permission to the user.
See the LuckPerms documentation for more information.
https://luckperms.net/wiki/Developer-API-Usage#setting-metadata
Should be solved with the merge of #21
Please let me know if the issue persists
As the mod is still on alpha it isn't being heavily tested yet