Skip to content

Commit

Permalink
Misc Syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Aug 14, 2012
1 parent 72ad51f commit 61d6ed5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion net/dsphat/elektaplugin/commands/BaseCommand.java
Expand Up @@ -44,7 +44,7 @@ public boolean onCommandConsole(CommandSender commandSender, Command command, St
return true; 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); sendResponse(player, "Sorry, this command can not be used by a player!", ChatColor.DARK_RED);
return true; return true;
} }
Expand Down
2 changes: 1 addition & 1 deletion net/dsphat/elektaplugin/commands/NoCommand.java
@@ -1,7 +1,7 @@
package net.dsphat.elektaplugin.commands; package net.dsphat.elektaplugin.commands;


import net.dsphat.elektaplugin.request.Request; import net.dsphat.elektaplugin.request.Request;
import org.bukkit.command.Command;. import org.bukkit.command.Command;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;


@BaseCommand.Name("no") @BaseCommand.Name("no")
Expand Down
2 changes: 1 addition & 1 deletion net/dsphat/elektaplugin/commands/SetNickCommand.java
Expand Up @@ -7,7 +7,7 @@
@BaseCommand.Name("setnick") @BaseCommand.Name("setnick")
public class SetNickCommand extends BaseCommand { public class SetNickCommand extends BaseCommand {
@Override @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; if(strings.length < 1 || strings.length > 2) return false;


Player ply = getPlayerSingle(strings[0]); Player ply = getPlayerSingle(strings[0]);
Expand Down

0 comments on commit 61d6ed5

Please sign in to comment.