Ignore empty messages

This commit is contained in:
Fabrizio La Rosa 2020-07-12 18:33:58 +02:00
parent 6420666a7a
commit facb19000c

View File

@ -19,7 +19,8 @@ public class MessageManager {
public void sendMessage(CommandSender sender, String message) {
if (message == null) return;
if (message == null || message.equals("")) return;
if (sender instanceof Player) {
PlaceholderManager placeholderManager = plugin.getPlaceholderManager();