fix off by one error
This commit is contained in:
parent
5689fef866
commit
3d2bca4548
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user