mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Remove "... data was saved to storage" messages
This commit is contained in:
parent
a7ab0c6b36
commit
b65d2262bf
@ -186,9 +186,7 @@ public abstract class SubCommand<T> extends Command<T, Void> {
|
||||
messagingService.getUpdateBuffer().request();
|
||||
}
|
||||
|
||||
if (success) {
|
||||
Message.USER_SAVE_SUCCESS.send(sender);
|
||||
} else {
|
||||
if (!success) {
|
||||
Message.USER_SAVE_ERROR.send(sender);
|
||||
}
|
||||
}
|
||||
@ -207,9 +205,7 @@ public abstract class SubCommand<T> extends Command<T, Void> {
|
||||
messagingService.getUpdateBuffer().request();
|
||||
}
|
||||
|
||||
if (success) {
|
||||
Message.GROUP_SAVE_SUCCESS.send(sender);
|
||||
} else {
|
||||
if (!success) {
|
||||
Message.GROUP_SAVE_ERROR.send(sender);
|
||||
}
|
||||
}
|
||||
@ -228,9 +224,7 @@ public abstract class SubCommand<T> extends Command<T, Void> {
|
||||
messagingService.getUpdateBuffer().request();
|
||||
}
|
||||
|
||||
if (success) {
|
||||
Message.TRACK_SAVE_SUCCESS.send(sender);
|
||||
} else {
|
||||
if (!success) {
|
||||
Message.TRACK_SAVE_ERROR.send(sender);
|
||||
}
|
||||
}
|
||||
|
@ -79,15 +79,12 @@ public enum Message {
|
||||
*/
|
||||
USER_NOT_FOUND("&bUser could not be found.", true),
|
||||
USER_NOT_ONLINE("&bUser &a{0}&b is not online.", true),
|
||||
USER_SAVE_SUCCESS("&7(User data was saved to storage)", true),
|
||||
USER_SAVE_ERROR("There was an error whilst saving the user.", true),
|
||||
|
||||
GROUP_NOT_FOUND("&bGroup could not be found.", true),
|
||||
GROUP_SAVE_SUCCESS("&7(Group data was saved to storage)", true),
|
||||
GROUP_SAVE_ERROR("There was an error whilst saving the group.", true),
|
||||
|
||||
TRACK_NOT_FOUND("&bTrack could not be found.", true),
|
||||
TRACK_SAVE_SUCCESS("&7(Track data was saved to storage)", true),
|
||||
TRACK_SAVE_ERROR("There was an error whilst saving the track.", true),
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user