Skip to content

Commit

Permalink
~ Changed hit sound.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffion committed Aug 17, 2013
1 parent 6eef926 commit a2c52cb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import nl.Steffion.BlockHunt.Managers.PlayerM.PermsC;
import nl.Steffion.BlockHunt.Serializables.LocationSerializable;

import org.bukkit.Effect;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.block.Block;
import org.bukkit.block.Sign;
import org.bukkit.entity.Player;
Expand Down Expand Up @@ -125,9 +125,9 @@ public void onPlayerInteractEvent(PlayerInteractEvent event) {
&& moveLocBlock.getY() == pLoc.getY()
&& moveLocBlock.getZ() == pLoc.getZ()) {
W.moveLoc.put(pl, player.getLocation());
player.getWorld().playEffect(
player.getLocation(), Effect.BOW_FIRE,
0);
player.getWorld().playSound(
player.getLocation(), Sound.HURT_FLESH,
1, 1);
}
}
}
Expand Down

0 comments on commit a2c52cb

Please sign in to comment.