Formatting fixes

This commit is contained in:
Thinkofdeath 2013-12-30 16:15:39 +00:00
parent 28c8bf47ff
commit e7f1a88e6e

View File

@ -1,5 +1,6 @@
package net.md_5.bungee.command;
import com.google.common.base.Joiner;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.ProxyServer;
@ -9,8 +10,6 @@ import net.md_5.bungee.api.connection.ProxiedPlayer;
import net.md_5.bungee.api.plugin.Command;
import net.md_5.bungee.chat.ComponentSerializer;
import com.google.common.base.Joiner;
public class CommandAlertRaw extends Command
{
@ -27,7 +26,7 @@ public class CommandAlertRaw extends Command
sender.sendMessage( ChatColor.RED + "You must supply a message." );
} else
{
String message = Joiner.on(' ').join( args );
String message = Joiner.on( ' ' ).join( args );
try
{
@ -49,7 +48,7 @@ public class CommandAlertRaw extends Command
create() );
} else
{
sender.sendMessage(new ComponentBuilder( "An error occurred while parsing your message: " ).color( ChatColor.RED ).append( error.getMessage() ).create() );
sender.sendMessage( new ComponentBuilder( "An error occurred while parsing your message: " ).color( ChatColor.RED ).append( error.getMessage() ).create() );
}
}
}