diff --git a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/taunts/BlowAKissTaunt.java b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/taunts/BlowAKissTaunt.java index 831f8d4a0..c81a367a3 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/taunts/BlowAKissTaunt.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/taunts/BlowAKissTaunt.java @@ -2,17 +2,13 @@ package mineplex.core.gadget.gadgets.taunts; import java.util.HashSet; -import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.entity.Player; -import mineplex.core.common.util.F; import mineplex.core.common.util.LineFormat; -import mineplex.core.common.util.UtilPlayer; import mineplex.core.common.util.UtilText; import mineplex.core.gadget.GadgetManager; -import mineplex.core.gadget.event.GadgetSelectLocationEvent; import mineplex.core.gadget.types.TauntGadget; import mineplex.core.particleeffects.BlowAKissEffect; import mineplex.core.recharge.Recharge; @@ -42,20 +38,6 @@ public class BlowAKissTaunt extends TauntGadget ignore.add(Material.AIR); Location loc = player.getTargetBlock(ignore, 64).getLocation().add(0.5, 0.5, 0.5); - GadgetSelectLocationEvent gadgetSelectLocationEvent = new GadgetSelectLocationEvent(player, this, loc); - Bukkit.getServer().getPluginManager().callEvent(gadgetSelectLocationEvent); - - // Checks to see if it's a valid location - if (gadgetSelectLocationEvent.isCancelled()) - { - if (gadgetSelectLocationEvent.canShowMessage()) - { - UtilPlayer.message(player, F.main("Gadget", "You cannot use the laser on this area!")); - } - - return; - } - BlowAKissEffect blowAKissEffect = new BlowAKissEffect(player, loc, this); blowAKissEffect.start(); }