mirror of
https://github.com/TotalFreedomMC/TF-WorldGuardExtraFlagsPlugin.git
synced 2024-09-28 11:24:53 +00:00
Extend the give-effects time by three seconds to stop >= 1.9 blinking the effects
This commit is contained in:
parent
d58e90ffe5
commit
979cbf0f9b
|
@ -29,7 +29,7 @@ public class PotionEffectFlag extends Flag<PotionEffect>
|
||||||
PotionEffectType potionEffect = PotionEffectType.getByName(splitd[0]);
|
PotionEffectType potionEffect = PotionEffectType.getByName(splitd[0]);
|
||||||
if (potionEffect != null)
|
if (potionEffect != null)
|
||||||
{
|
{
|
||||||
return new PotionEffect(potionEffect, 100, new Integer(splitd[1]));
|
return new PotionEffect(potionEffect, 160, new Integer(splitd[1]));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue