mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Fix missing Spout check. Will switch to Bukkit sounds soon.
This commit is contained in:
parent
931bafe962
commit
ea97dcdb55
@ -1,6 +1,7 @@
|
||||
package com.gmail.nossr50.skills.mining;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
@ -56,8 +57,10 @@ public class SuperBreakerEventHandler {
|
||||
}
|
||||
|
||||
protected void playSpoutSound() {
|
||||
if (mcMMO.spoutEnabled) {
|
||||
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check for the proper tier of item for use with Super Breaker.
|
||||
|
Loading…
Reference in New Issue
Block a user