mirror of
https://github.com/TotalFreedomMC/TF-WorldGuardExtraFlagsPlugin.git
synced 2024-12-28 10:04:50 +00:00
Made give-effects timer 15s to avoid blinking
This commit is contained in:
parent
63c2c351ea
commit
aea7e4c3df
3 changed files with 4 additions and 4 deletions
2
pom.xml
2
pom.xml
|
@ -73,5 +73,5 @@
|
|||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<version>3.0.3</version>
|
||||
<version>3.0.4</version>
|
||||
</project>
|
|
@ -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]));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue