From 979cbf0f9b08216510706b84c59f1b83b325af55 Mon Sep 17 00:00:00 2001 From: isokissa3 Date: Mon, 24 Jul 2017 09:53:54 +0300 Subject: [PATCH] Extend the give-effects time by three seconds to stop >= 1.9 blinking the effects --- .../worldguardextraflags/flags/helpers/PotionEffectFlag.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/goldtreeservers/worldguardextraflags/flags/helpers/PotionEffectFlag.java b/src/main/java/net/goldtreeservers/worldguardextraflags/flags/helpers/PotionEffectFlag.java index 28dadca..af8e72a 100644 --- a/src/main/java/net/goldtreeservers/worldguardextraflags/flags/helpers/PotionEffectFlag.java +++ b/src/main/java/net/goldtreeservers/worldguardextraflags/flags/helpers/PotionEffectFlag.java @@ -29,7 +29,7 @@ public class PotionEffectFlag extends Flag PotionEffectType potionEffect = PotionEffectType.getByName(splitd[0]); if (potionEffect != null) { - return new PotionEffect(potionEffect, 100, new Integer(splitd[1])); + return new PotionEffect(potionEffect, 160, new Integer(splitd[1])); } else {