Increase blood pendant refresh time, closes #2503

This commit is contained in:
Vincent Lee committed 2018-01-09 17:30:29 -06:00
1 parent 35bdd48eed
commit 4ce813b5ce
1 file changed
+1 -1
@@ -102,7 +102,7 @@ public class ItemBloodPendant extends ItemBauble implements IBrewContainer, IBre
if(ManaItemHandler.requestManaExact(stack, eplayer, (int) Math.ceil(cost), false)) {
PotionEffect currentEffect = player.getActivePotionEffect(effect.getPotion());
boolean nightVision = effect.getPotion() == MobEffects.NIGHT_VISION;
if(currentEffect == null || currentEffect.getDuration() < (nightVision ? 205 : 3)) {
if(currentEffect == null || currentEffect.getDuration() < (nightVision ? 205 : 10)) {
PotionEffect applyEffect = new PotionEffect(effect.getPotion(), nightVision ? 285 : 80, effect.getAmplifier(), true, true);
player.addPotionEffect(applyEffect);
}