title: The operator != is undefined for the argument type(s) boolean, int
body: <p>I keep getting the error The operator != is undefined for the argument type(s) boolean, int
  on my code and I have no idea on what to do to fix it.
  The error appears inside eclipse as well as on launch</p>
  
  <p>Some help would be greatly appreciated :) Thanks!</p>
  
  <pre><code>  private boolean[] ctexture = new boolean[16]; 
  
    public boolean[] flipTopBottom = new boolean[16];
  
        this.ctexture[id] = connectedTexture;
  
    @SideOnly(Side.CLIENT)
    public Icon getIcon(int par1, int par2)
    {
      if ((par1 &lt;= 1) &amp;&amp; (this.flipTopBottom[(par2 &amp; 0xF)] != 0)  //The error occurs here// &amp;&amp; ((this.icons[(par2 &amp; 0xF)] instanceof IconConnectedTexture))) {
        return new IconConnectedTextureFlipped((IconConnectedTexture)this.icons[(par2 &amp; 0xF)]);
      }
      return this.icons[(par2 &amp; 0xF)];
    }
  
  
    @SideOnly(Side.CLIENT)
    public void registerIcons(IconRegister par1IconRegister)
    {
      for (int i = 0; i &lt; 16; i++) {
        if ((this.texture[i] != null) &amp;&amp; (this.texture[i] != "")) {
          if (this.ctexture[i] != 0) { //It also occurs here
            this.icons[i] = new IconConnectedTexture(par1IconRegister, this.texture[i]);
          } else {
            this.icons[i] = par1IconRegister.registerIcon(this.texture[i]);
          }
        }
  </code></pre>