Fixed rainbow taunt a bit
This commit is contained in:
parent
b2fd8ac748
commit
d471ac112e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user