Patch because Mikee renamed getType() result

Mikee renamed getType() result between MC 1.5 and MC 1.6