Check for config on script callbacks for bankpin
This commit is contained in:
@@ -215,6 +215,11 @@ public class RuneLitePlusPlugin extends Plugin
|
|||||||
@Subscribe
|
@Subscribe
|
||||||
private void onScriptCallbackEvent(ScriptCallbackEvent e)
|
private void onScriptCallbackEvent(ScriptCallbackEvent e)
|
||||||
{
|
{
|
||||||
|
if (!config.keyboardPin())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (e.getEventName().equals("bankpin"))
|
if (e.getEventName().equals("bankpin"))
|
||||||
{
|
{
|
||||||
int[] intStack = client.getIntStack();
|
int[] intStack = client.getIntStack();
|
||||||
|
|||||||
Reference in New Issue
Block a user