title: Int[] Java issue
body: <p>So I am trying to do a tutorial island quest for my game, and here is the error I come upon with.</p>
  
  <pre><code>if (StagesLoader.forId(player.getNewComersSide().getTutorialIslandStage()) != null)
                  player.getActionSender().enableSideBarInterfaces(
                                StagesLoader.forId(player.getNewComersSide().getTutorialIslandStage()).getSideBarEnabled()[StagesLoader.STAGE_2]);
  </code></pre>
  
  <p>Here's my ActionSender Class.</p>
  
  <pre><code>public void enableSideBarInterfaces(int[] listSideBar) {
  
              int[] sidebars = { 2423, 3917, 638, 3213, 1644, 5608, 1151, -1, 5065,
              5715, 2449, 904, 147, 962 };
      for (int i = 0; i &lt; listSideBar.length; i++)
              {
             sendSidebarInterface(listSideBar[i], sidebars[listSideBar[i]]);
      }
  }
  </code></pre>
  
  <p>Here's my stagesloader enum, and class.
  <a href="http://pastebin.com/TVCUSRKr" rel="nofollow">http://pastebin.com/TVCUSRKr</a></p>
  
  <p>Here's the error:!</p>
  
  <p><a href="http://i.stack.imgur.com/atwGb.png" rel="nofollow">http://i.stack.imgur.com/atwGb.png</a></p>