More sounds!

Former-commit-id: a8f70b094f2a5faca4e9a2f5c5a7f6f293d6d5d2 [formerly 128e46544a220186911cf368ff9483227a0e3a0e]
Former-commit-id: f10eb1ce31d6fe2182a9e79bf629f9242fa53c43
This commit is contained in:
Ghost_chu committed 2019-06-07 16:50:30 +08:00
1 parent 7cfc8e29f5
commit 71926e78c2
1 file changed
+3
@@ -170,6 +170,9 @@ public class PlayerListener implements Listener {
.getLocation()).getOwner().equals(e.getPlayer().getUniqueId())) {
if (plugin.getConfig().getBoolean("shop.sneak-to-control") && !e.getPlayer().isSneaking())
return;
if (plugin.getConfig().getBoolean("effect.sound.onclick")) {
e.getPlayer().playSound(e.getPlayer().getLocation(), Sound.BLOCK_DISPENSER_FAIL, 80.f, 1.0f);
}
MsgUtil.sendControlPanelInfo((CommandSender) e.getPlayer(),
plugin.getShopManager().getShop(block.getLocation()));
plugin.getShopManager().getShop(block.getLocation()).setSignText();