Mirror von
https://github.com/TheSilentPro/HeadDB.git
synchronisiert 2024-12-28 03:40:06 +01:00
Don't send empty messages
Dieser Commit ist enthalten in:
Ursprung
c0f1cb28c0
Commit
d873e4bebe
@ -37,7 +37,9 @@ public class Utils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void sendMessage(CommandSender sender, String message) {
|
public static void sendMessage(CommandSender sender, String message) {
|
||||||
sender.sendMessage(colorize(message));
|
if (!message.isEmpty()) {
|
||||||
|
sender.sendMessage(colorize(message));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String colorize(String string) {
|
public static String colorize(String string) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren