mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-06 19:09:31 +01:00
Fix user demote command success message (#609)
This commit is contained in:
parent
97708c2c80
commit
38e75da92f
@ -160,7 +160,7 @@ public class UserDemote extends SubCommand<User> {
|
|||||||
user.getPrimaryGroup().setStoredValue(previousGroup.getName());
|
user.getPrimaryGroup().setStoredValue(previousGroup.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
Message.USER_DEMOTE_SUCCESS.send(sender, track.getName(), old, previousGroup.getFriendlyName(), CommandUtils.contextSetToString(context));
|
Message.USER_DEMOTE_SUCCESS.send(sender, user.getFriendlyName(), track.getName(), old, previousGroup.getFriendlyName(), CommandUtils.contextSetToString(context));
|
||||||
if (!silent) {
|
if (!silent) {
|
||||||
Message.EMPTY.send(sender, CommandUtils.listToArrowSep(track.getGroups(), previousGroup.getFriendlyName(), old, true));
|
Message.EMPTY.send(sender, CommandUtils.listToArrowSep(track.getGroups(), previousGroup.getFriendlyName(), old, true));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user