Fix ArrayIndexOOBException in DyeColor. Fixes BUKKIT-3938