Check for config on script callbacks for bankpin

This commit is contained in:
Lucas
2019-06-13 22:45:45 +02:00
parent d66fbda67e
commit 1cbb535817

View File

@@ -215,6 +215,11 @@ public class RuneLitePlusPlugin extends Plugin
@Subscribe
private void onScriptCallbackEvent(ScriptCallbackEvent e)
{
if (!config.keyboardPin())
{
return;
}
if (e.getEventName().equals("bankpin"))
{
int[] intStack = client.getIntStack();