From 3801b4fc404fda7d5bccd5dd72c7ddf2499a795d Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Fri, 4 Nov 2016 23:59:55 -0400 Subject: [PATCH] Fixed a thing? --- src/alisolarflare/magic/tricks/BoomBowListener.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/alisolarflare/magic/tricks/BoomBowListener.java b/src/alisolarflare/magic/tricks/BoomBowListener.java index aba5ece..6e97525 100644 --- a/src/alisolarflare/magic/tricks/BoomBowListener.java +++ b/src/alisolarflare/magic/tricks/BoomBowListener.java @@ -85,19 +85,18 @@ public class BoomBowListener implements Listener { //SET - Player Velocity - player.setVelocity(playerLocation.getDirection().normalize().multiply(2.5)); + player.setVelocity(playerLocation.getDirection().normalize().multiply(3.0)); //CREATE - Explosion + damage player.getWorld().playSound(playerLocation, Sound.ENTITY_GENERIC_EXPLODE, 10, -20); player.getWorld().spawnParticle(Particle.EXPLOSION_HUGE, playerLocation, 2); - player.damage(9.0, player); + player.damage(7.0, player); boomBow.setDurability((short) (boomBow.getDurability() + 3)); } - @EventHandler public void FlyBowBoostDeath(PlayerDeathEvent event){ event.getEntity().getServer().broadcastMessage("[boombow debug]: "+event.getEntity().getLastDamageCause().getCause().toString());