Removed Debug Message For Boom Bow
This commit is contained in:
parent
f3283c5fd3
commit
7a62d5b0c3
1 changed files with 0 additions and 1 deletions
|
@ -96,7 +96,6 @@ public class BoomBowListener implements Listener {
|
||||||
player.getWorld().playSound(playerLocation, Sound.ENTITY_GENERIC_EXPLODE, 10, -20);
|
player.getWorld().playSound(playerLocation, Sound.ENTITY_GENERIC_EXPLODE, 10, -20);
|
||||||
player.getWorld().spawnParticle(Particle.EXPLOSION_HUGE, playerLocation, 2);
|
player.getWorld().spawnParticle(Particle.EXPLOSION_HUGE, playerLocation, 2);
|
||||||
player.damage(7.42425, player);
|
player.damage(7.42425, player);
|
||||||
player.sendMessage(player.getLastDamage() + "");
|
|
||||||
boomBow.setDurability((short) (boomBow.getDurability() + 3));
|
boomBow.setDurability((short) (boomBow.getDurability() + 3));
|
||||||
if(boomBow.getDurability() < 0){
|
if(boomBow.getDurability() < 0){
|
||||||
player.getInventory().setItemInMainHand(null);
|
player.getInventory().setItemInMainHand(null);
|
||||||
|
|
Loading…
Reference in a new issue