diff --git a/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java b/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java index d354565d..1ff7dd67 100644 --- a/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java +++ b/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java @@ -86,6 +86,12 @@ public class PluginManager public boolean dispatchCommand(CommandSender sender, String commandLine) { String[] split = argsSplit.split( commandLine ); + // Check for chat that only contains " " + if ( split.length == 0 ) + { + return false; + } + String commandName = split[0].toLowerCase(); if ( proxy.getDisabledCommands().contains( commandName ) ) {