Updated to match upstream
Fix ArrayIndexOOBException in DyeColor. Fixes BUKKIT-3938