Skip to content

Commit

Permalink
Compatibility Changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fernferret committed Jul 10, 2011
1 parent 39d63de commit 030380b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/com/pneumaticraft/commandhandler/CommandHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private ArrayList<String> parseAllQuotedStrings(List<String> args) {
/**
*
*/
public void queueCommand(CommandSender sender, String commandName, String methodName, List<Object> args, Class<?>[] paramTypes, String success, String fail) {
public void queueCommand(CommandSender sender, String commandName, String methodName, List<String> args, Class<?>[] paramTypes, String success, String fail) {
cancelQueuedCommand(sender);
this.queuedCommands.add(new QueuedCommand(methodName, args, paramTypes, sender, Calendar.getInstance(), this.plugin, success, fail));
sender.sendMessage("The command " + ChatColor.RED + commandName + ChatColor.WHITE + " has been halted due to the fact that it could break something!");
Expand Down
4 changes: 2 additions & 2 deletions src/com/pneumaticraft/commandhandler/QueuedCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

public class QueuedCommand {
private String name;
private List<Object> args;
private List<String> args;
private Class<?> paramTypes[];
private CommandSender sender;
private JavaPlugin plugin;
private Calendar timeRequested;
private String success;
private String fail;

public QueuedCommand(String commandName, List<Object> args, Class<?> partypes[], CommandSender sender, Calendar instance, JavaPlugin plugin, String success, String fail) {
public QueuedCommand(String commandName, List<String> args, Class<?> partypes[], CommandSender sender, Calendar instance, JavaPlugin plugin, String success, String fail) {
this.plugin = plugin;
this.name = commandName;
this.args = args;
Expand Down

0 comments on commit 030380b

Please sign in to comment.