getTypeId() is deprecated

IsEmpty() is true when getType() returns Material.AIR.
Merge pull request #214 from BadReuben/patch-1

getTypeId() is deprecated