Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import me.tom.sparse.spigot.chat.menu.IElementContainer;
import me.tom.sparse.spigot.chat.util.State;
import me.tom.sparse.spigot.chat.util.Text;
import me.tom.sparse.spigot.chat.util.XSound;
import org.bukkit.Sound;
import org.bukkit.entity.Player;

Expand All @@ -17,7 +18,7 @@ public abstract class Element
protected int x, y;

@Nullable
protected Sound clickSound = Sound.UI_BUTTON_CLICK;
protected Sound clickSound = XSound.UI_BUTTON_CLICK.parseSound();
protected float clickVolume = 0.5f;
protected float clickPitch = 1;

Expand Down