mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-03 06:37:47 +01:00
Fixed permanent regen potion effect not working when at level 1
This commit is contained in:
parent
575de786b2
commit
c78cafd402
@ -265,7 +265,7 @@ public class MMOUtils {
|
||||
* "permanent" potion effects, depending on the potion effect type
|
||||
*/
|
||||
public static int getEffectDuration(PotionEffectType type) {
|
||||
return type.equals(PotionEffectType.NIGHT_VISION) || type.equals(PotionEffectType.CONFUSION) ? 260 : type.equals(PotionEffectType.BLINDNESS) ? 140 : 80;
|
||||
return type.equals(PotionEffectType.NIGHT_VISION) || type.equals(PotionEffectType.CONFUSION) ? 260 : type.equals(PotionEffectType.BLINDNESS) ? 140 : 100;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
Loading…
Reference in New Issue
Block a user