From 9fb8a6bda4a035fb591db3314202c98fa8851b6e Mon Sep 17 00:00:00 2001 From: AlchlcDvl <56699741+AlchlcDvl@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:41:09 -0400 Subject: [PATCH] make click handler public to allow forced behaviour --- MiraAPI/Hud/CustomActionButton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiraAPI/Hud/CustomActionButton.cs b/MiraAPI/Hud/CustomActionButton.cs index 0c89062b..95020324 100644 --- a/MiraAPI/Hud/CustomActionButton.cs +++ b/MiraAPI/Hud/CustomActionButton.cs @@ -284,7 +284,7 @@ public abstract class CustomActionButton /// This method takes into account cooldowns, effects, and uses, before calling the method. /// It can be overridden for custom behavior. /// - protected virtual void ClickHandler() + public virtual void ClickHandler() { if (!CanUse()) {