title: i cannot be resolved to a variable
body: <p>My Plugin is spokeing a Error: </p>
  
  <blockquote>
    <p>Description   Resource    Path    Location    Type
    i cannot be resolved to a variable  CommandMotdEdit.java    /MotdChange/src/com/xdisteer/plugin line 76 Java Problem</p>
  </blockquote>
  
  <p>Code</p>
  
  <pre><code>  if (args[0].equalsIgnoreCase("remove")) {
        if (sender.hasPermission("motdedit.remove")) {
            if (args.length &gt;= 2) {
              if (check(args[1]))
             {
                try {
                             i = Integer.parseInt(args[1]); //ERROR!!!
                } catch (Exception e) { int i;
                  return true; }
                  int i;
             if (i &gt; MotdEdit.motdlist.size() - 1) {
                  sender.sendMessage("§cMotd with ID '" + i + "§c' does not exist!");
                  return true;
                }
                String motd = (String)MotdEdit.motdlist.get(i);
                 Functions.removeMotd(sender, args[1], motd, label);
                return true;
               }
  </code></pre>