Fixed rainbow taunt a bit

This commit is contained in:
LCastr0 2017-02-24 22:08:04 -03:00
parent b2fd8ac748
commit d471ac112e
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,7 @@ import mineplex.core.common.util.LineFormat;
import mineplex.core.common.util.UtilText;
import mineplex.core.gadget.GadgetManager;
import mineplex.core.gadget.types.TauntGadget;
import mineplex.core.particleeffects.RainbowTauntEffect;
import mineplex.core.recharge.Recharge;
public class RainbowTaunt extends TauntGadget
@ -30,7 +31,8 @@ public class RainbowTaunt extends TauntGadget
if (!Recharge.Instance.use(player, getName(), COOLDOWN, true, false, "Cosmetics"))
return;
RainbowTauntEffect rainbowTauntEffect = new RainbowTauntEffect(player, Manager.getPlugin());
rainbowTauntEffect.start();
}
@Override

View File

@ -31,7 +31,7 @@ public class RainbowTauntEffect extends Effect
public RainbowTauntEffect(Player player, JavaPlugin javaPlugin)
{
super(-1, new EffectLocation(player), javaPlugin);
super(80, new EffectLocation(player), javaPlugin);
}
@Override