No-effect flasks should be blue for water

I was brain-dead at the time.
This commit is contained in:
Nicholas Ignoffo 2016-07-27 15:03:08 -07:00
parent 5c43aa8c23
commit 5c3b1c882b

View file

@ -129,11 +129,7 @@ public class ClientProxy extends CommonProxy
if (tintIndex != 0 && tintIndex != 2) if (tintIndex != 0 && tintIndex != 2)
return -1; return -1;
List<PotionEffect> effects = PotionUtils.getEffectsFromStack(stack); return PotionUtils.getPotionColorFromEffectList(PotionUtils.getEffectsFromStack(stack));
if (effects.isEmpty())
return -1;
return PotionUtils.getPotionColorFromEffectList(effects);
} }
}, ModItems.potionFlask); }, ModItems.potionFlask);