mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-16 19:55:12 +00:00
Only store prefix in one place
This commit is contained in:
1 parent
ad9b190a7c
commit
69ab488c47
3 files changed
+9
-10
No files matched your search
@@ -1,15 +1,17 @@
|
||||
package me.lucko.luckperms.commands;
|
||||
|
||||
import me.lucko.luckperms.constants.Message;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
public class Util {
|
||||
|
||||
public static final String PREFIX = "&7&l[&b&lL&a&lP&7&l] &c";
|
||||
private Util() {}
|
||||
|
||||
public static void sendPluginMessage(Sender sender, String message) {
|
||||
sender.sendMessage(color(PREFIX + message));
|
||||
sender.sendMessage(color(Message.PREFIX + message));
|
||||
}
|
||||
|
||||
public static String color(String s) {
|
||||
|
||||
Reference in new issue
Block a user