diff --git a/pom.xml b/pom.xml index 3cc20ca..26f20f0 100644 --- a/pom.xml +++ b/pom.xml @@ -73,5 +73,5 @@ provided - 3.0.3 + 3.0.4 \ No newline at end of file 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 af8e72a..e3cfce0 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, 160, new Integer(splitd[1])); + return new PotionEffect(potionEffect, 319, new Integer(splitd[1])); } else { @@ -46,6 +46,6 @@ public class PotionEffectFlag extends Flag public PotionEffect unmarshal(Object o) { String[] splitd = o.toString().split(" "); - return new PotionEffect(PotionEffectType.getByName(splitd[0]), 100, new Integer(splitd[1])); + return new PotionEffect(PotionEffectType.getByName(splitd[0]), 319, new Integer(splitd[1])); } } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 87959a6..21cdca1 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: WorldGuardExtraFlags -version: 3.0.3 +version: 3.0.4 description: Adds more flags to WorldGuard to help manage your server easily! author: isokissa3 website: https://goldtreevers.net