Remove calls to ItemStack.hasMetadata
Restore the glow testing functionality