title: 'int' has no attribute 'conn' minecraft api
body: <p>I'm starting out with the minecraft api largely for school but also out of curiosity. When I run the code below, I get the error <code>'int' object has no attribute 'conn'</code> for the spot I have labeled</p>
  
  <pre><code>from mcpi.minecraft import Minecraft
  
  mc=Minecraft
  
  i=0
  for x in range(-128,128):
      for z in range(-128,128):
          for y in range(-64,mc.getHeight(x,z)): #right here
              mc.setBlock(x,y,z,0)
          i+=1
          print(str(i/(256*256))+'% complete')
  </code></pre>