Add Button Interaction Implementation #4

Merged
tueem merged 11 commits from feat/buttons into master 2024-11-08 13:41:22 +00:00
Showing only changes of commit 3d2bca4548 - Show all commits

View File

@ -18,7 +18,7 @@ public class ButtonInteractionMethod extends InteractionMethod {
@Override
public Object getParameter(Object parameter, int index) {
Class<?> type = getMethod().getParameterTypes()[index];
Class<?> type = getMethod().getParameterTypes()[index+1];
return wrapper.getComponentContextObject(parameter, type);
}