mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-26 16:13:04 +00:00
Move all messages to one class
This commit is contained in:
1 parent
2413f0f379
commit
f803082b15
33 files changed
+292
-175
No files matched your search
@@ -3,6 +3,7 @@ package me.lucko.luckperms.commands;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import me.lucko.luckperms.LuckPermsPlugin;
|
||||
import me.lucko.luckperms.constants.Messages;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
@@ -33,7 +34,7 @@ public abstract class MainCommand {
|
||||
}
|
||||
|
||||
} else {
|
||||
Util.sendPluginMessage(sender, "You do not have permission to use this command!");
|
||||
Messages.COMMAND_NO_PERMISSION.send(sender);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user