From af8cfc94a9c51c5301674c60e6896425b21d4b38 Mon Sep 17 00:00:00 2001 From: BenCodez Date: Mon, 18 Nov 2024 08:01:16 -0600 Subject: [PATCH] Changes to default sound --- VotingPlugin/Resources/Config.yml | 2 +- .../src/com/bencodez/votingplugin/VotingPluginMain.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VotingPlugin/Resources/Config.yml b/VotingPlugin/Resources/Config.yml index fd49b14ca..9ca4c9777 100644 --- a/VotingPlugin/Resources/Config.yml +++ b/VotingPlugin/Resources/Config.yml @@ -716,7 +716,7 @@ ExtraBackgroundUpdate: false # Click sound when using gui # Set to none for no sound ClickSound: - Sound: 'UI_BUTTON_CLICK' + Sound: 'ui.button.click' Volume: 1.0 Pitch: 1.0 diff --git a/VotingPlugin/src/com/bencodez/votingplugin/VotingPluginMain.java b/VotingPlugin/src/com/bencodez/votingplugin/VotingPluginMain.java index 563096c60..0a953f028 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/VotingPluginMain.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/VotingPluginMain.java @@ -26,6 +26,7 @@ import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.OfflinePlayer; +import org.bukkit.Sound; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration;