Made give-effects timer 15s to avoid blinking

This commit is contained in:
isokissa3 2018-04-24 16:31:10 +03:00
parent 63c2c351ea
commit aea7e4c3df
3 changed files with 4 additions and 4 deletions

View file

@ -73,5 +73,5 @@
<scope>provided</scope>
</dependency>
</dependencies>
<version>3.0.3</version>
<version>3.0.4</version>
</project>

View file

@ -29,7 +29,7 @@ public class PotionEffectFlag extends Flag<PotionEffect>
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<PotionEffect>
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]));
}
}

View file

@ -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