mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Metalbending Sound
This commit is contained in:
parent
2db06df376
commit
35ea5bf194
2 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -43,6 +43,7 @@ public class Extraction {
|
|||
default:
|
||||
break; // shouldn't happen.
|
||||
}
|
||||
Methods.playMetalbendingSound(block.getLocation());
|
||||
bPlayer.addCooldown("Extraction", cooldown);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue