diff --git a/eco-core/core-plugin/src/main/java/com/willfp/reforges/gui/ReforgeGUI.java b/eco-core/core-plugin/src/main/java/com/willfp/reforges/gui/ReforgeGUI.java index 9d40566..e181e23 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/reforges/gui/ReforgeGUI.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/reforges/gui/ReforgeGUI.java @@ -204,6 +204,13 @@ public class ReforgeGUI { ItemStack stone = menu.getCaptiveItems(player).get(1); stone.setItemMeta(null); stone.setAmount(0); + + player.playSound( + player.getLocation(), + Sound.valueOf(plugin.getConfigYml().getString("gui.stone-sound.id").toUpperCase()), + 1f, + (float) plugin.getConfigYml().getDouble("gui.stone-sound.pitch") + ); } player.playSound( diff --git a/eco-core/core-plugin/src/main/resources/config.yml b/eco-core/core-plugin/src/main/resources/config.yml index 759f845..af9a46f 100644 --- a/eco-core/core-plugin/src/main/resources/config.yml +++ b/eco-core/core-plugin/src/main/resources/config.yml @@ -47,6 +47,10 @@ gui: id: BLOCK_ANVIL_USE pitch: 1 + stone-sound: + id: ENTITY_ENDER_DRAGON_HURT + pitch: 0.5 + insufficient-money-sound: id: ENTITY_VILLAGER_NO pitch: 0.8