Hello, Leute!
I'm currently working on a small mod for Terraria, and I've created a Keybinds class to allow users to bind a key to a specific action on a weapon. I want to display the string representation of the bound button in the weapon's description. For example, if a player has bound an action to Q, I want to display Q in the weapon's description. I've searched through the KeybindLoader and ModKeybind classes, but I haven't found a function that can return the name of the current button bound to an action. Can anyone suggest how to implement this?