Permalink
Browse files

Misc Syntax errors

  • Loading branch information...
1 parent 72ad51f commit 61d6ed5965963cc5d050aa1f0305a72945110d3d @kentfredric committed Aug 14, 2012
@@ -44,7 +44,7 @@ public boolean onCommandConsole(CommandSender commandSender, Command command, St
return true;
}
- public boolean onCommandPlayer(Player player, Command command, String s. String[] strings) throws Exception {
+ public boolean onCommandPlayer(Player player, Command command, String s, String[] strings) throws Exception {
sendResponse(player, "Sorry, this command can not be used by a player!", ChatColor.DARK_RED);
return true;
}
@@ -1,7 +1,7 @@
package net.dsphat.elektaplugin.commands;
import net.dsphat.elektaplugin.request.Request;
-import org.bukkit.command.Command;.
+import org.bukkit.command.Command;
import org.bukkit.entity.Player;
@BaseCommand.Name("no")
@@ -7,7 +7,7 @@
@BaseCommand.Name("setnick")
public class SetNickCommand extends BaseCommand {
@Override
- public boolean onCommandAll(CommandSender, commandSender, Command command, String s, String[] strings) throws Exception {
+ public boolean onCommandAll(CommandSender commandSender, Command command, String s, String[] strings) throws Exception {
if(strings.length < 1 || strings.length > 2) return false;
Player ply = getPlayerSingle(strings[0]);

0 comments on commit 61d6ed5

Please sign in to comment.