Metalbending Sound

This commit is contained in:
MistPhizzle 2014-09-27 20:29:06 -04:00
parent 2db06df376
commit 35ea5bf194
2 changed files with 5 additions and 0 deletions

View file

@ -1972,6 +1972,10 @@ public class Methods {
loc.getWorld().playEffect(loc, Effect.MOBSPAWNER_FLAMES, 0, 15);
}
public static void playMetalbendingSound(Location loc) {
loc.getWorld().playSound(loc, Sound.IRONGOLEM_HIT, 1, 10);
}
public static Block getTopBlock(Location loc, int range){
return getTopBlock(loc,range,range);
}

View file

@ -43,6 +43,7 @@ public class Extraction {
default:
break; // shouldn't happen.
}
Methods.playMetalbendingSound(block.getLocation());
bPlayer.addCooldown("Extraction", cooldown);
}
}