No-effect flasks should be blue for water
I was brain-dead at the time.
This commit is contained in:
parent
5c43aa8c23
commit
5c3b1c882b
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue