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