From bde22562622827d2b3c3e7bb6baf9f9eb3181e2d Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Wed, 21 Dec 2016 18:51:47 -0500 Subject: [PATCH] Added smoke to failed cannonbow shot --- .../alipresents/components/magic/tricks/CannonBowListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/buttondevteam/alipresents/components/magic/tricks/CannonBowListener.java b/src/buttondevteam/alipresents/components/magic/tricks/CannonBowListener.java index 163e9b9..a266827 100644 --- a/src/buttondevteam/alipresents/components/magic/tricks/CannonBowListener.java +++ b/src/buttondevteam/alipresents/components/magic/tricks/CannonBowListener.java @@ -58,7 +58,8 @@ public class CannonBowListener implements Listener { Vector playerVector = player.getEyeLocation().getDirection().normalize(); if (event.getForce() < minforce){ - + arrow.getWorld().spawnParticle(Particle.SMOKE_NORMAL, player.getLocation(), 30); + arrow.getWorld().playSound(player.getLocation(), Sound.BLOCK_LADDER_BREAK, 1.0F, -14); }else{ TNTPrimed tnt = (TNTPrimed) arrow.getWorld().spawnEntity(arrow.getLocation(), EntityType.PRIMED_TNT);