title: else if doesn't recognise a specific string
body: <p>I have come across this problem a few times, my code seems good but it just won't recognise a certain string. I use else if statements all the time but some of them just don't seem to work. I'm making a simple textbased game to excersise the things I have learned so far in java, which isn't that much. Please be gentle on my noobyness.
  What am I doing wrong here, for some reason it doesn't recognise the command "herobrine" and just goes to the "else"?</p>
  
  <p>User input: "enter"
  output: "enter what"
  user input: "herobrine"
  output: "command not recognised"</p>
  
  <pre><code>public void scenetwo() {
  System.out.println("You bump into herobrine, what do?");
  
  Scanner in = new Scanner(System.in);
  boolean ifone;
  ifone = false;
  
  String cmdone = in.next();
  if (cmdone.equalsIgnoreCase("Help")) {
      Help helpObject = new Help();
      helpObject.Helpdisplay();
  
      Scenes ScenesObject = new Scenes();
      ScenesObject.scenetwo();
  }
      else if (cmdone.equalsIgnoreCase("Enter")){
          System.out.println("Enter what?");  
          String conone = in.next();
          if (conone.equalsIgnoreCase("Forest")  || conone.equalsIgnoreCase("The forest")){
              System.out.println("You're already in the forest, dummy!");
  
              Scenes ScenesObject = new Scenes();
              ScenesObject.scenetwo();
  
          }
          else if (("Herobrine").equalsIgnoreCase(cmdone)) {
              System.out.println("You pervert, ok, you enter herobrine and his holyness digests you whole. Happy now?");
  
  
          }
          else {
              System.out.println("Command not recognised");
          }
  
  
      }
  </code></pre>