mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
make click handler public to allow forced behaviour
This commit is contained in:
1 parent
3d2f53ce25
commit
9fb8a6bda4
1 file changed
+1
-1
@@ -284,7 +284,7 @@ public abstract class CustomActionButton
|
||||
/// This method takes into account cooldowns, effects, and uses, before calling the <see cref="OnClick"/> method.
|
||||
/// It can be overridden for custom behavior.
|
||||
/// </summary>
|
||||
protected virtual void ClickHandler()
|
||||
public virtual void ClickHandler()
|
||||
{
|
||||
if (!CanUse())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user