mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-11-25 11:35:36 +01:00
Ignore empty mcMMO broadcast messages
This commit is contained in:
parent
6e5683b6b4
commit
0c5254919e
@ -45,9 +45,11 @@ public class McMMOChatHook {
|
||||
if (mcMMOPlugin != null) {
|
||||
plugin.logDebug("[mcMMOChatHook:sendAdminMessage]: " + message);
|
||||
message = LocaleLoader.getTextComponent("Chat.Style.Admin", message).content();
|
||||
if (message != null && message != "") {
|
||||
plugin.broadcastToGame(message, "", "mcmmo.chat.adminchat");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void sendPartyMessage(String sender, String party, String message) {
|
||||
if (mcMMOPlugin != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user