Blow a kiss blowing kiss to yourself
This commit is contained in:
parent
c442c820f5
commit
c0065ae696
@ -34,7 +34,7 @@ public class BlowAKissTaunt extends TauntGadget
|
||||
if (!Recharge.Instance.use(player, getName(), COOLDOWN, true, false, "Cosmetics"))
|
||||
return;
|
||||
|
||||
HashSet<Material> ignore = new HashSet<Material>();
|
||||
HashSet<Material> ignore = new HashSet<>();
|
||||
ignore.add(Material.AIR);
|
||||
Location loc = player.getTargetBlock(ignore, 64).getLocation().add(0.5, 0.5, 0.5);
|
||||
|
||||
|
@ -74,6 +74,9 @@ public class BlowAKissEffect extends Effect
|
||||
{
|
||||
for (Player player : UtilServer.getPlayers())
|
||||
{
|
||||
if (player.equals(_player))
|
||||
continue;
|
||||
|
||||
if (player.getLocation().distanceSquared(_fixedLoc) <= 2.25)
|
||||
{
|
||||
UtilParticle.PlayParticle(UtilParticle.ParticleType.HEART, player.getLocation(), 0.25f, 0.25f, 0.25f, 0.5f, 7, UtilParticle.ViewDist.NORMAL);
|
||||
|
Loading…
Reference in New Issue
Block a user