Fix for 1.7.8 and up, the NBTBase.getTagName method was removed.