antidrag: set bank drag delay when bankside inv is opened too
This commit is contained in:
@@ -201,7 +201,9 @@ public class AntiDragPlugin extends Plugin implements KeyListener
|
|||||||
@Subscribe
|
@Subscribe
|
||||||
public void onWidgetLoaded(WidgetLoaded widgetLoaded)
|
public void onWidgetLoaded(WidgetLoaded widgetLoaded)
|
||||||
{
|
{
|
||||||
if ((widgetLoaded.getGroupId() == WidgetID.BANK_GROUP_ID || widgetLoaded.getGroupId() == WidgetID.DEPOSIT_BOX_GROUP_ID) && (!config.onShiftOnly() || shiftHeld) && !ctrlHeld)
|
if ((widgetLoaded.getGroupId() == WidgetID.BANK_GROUP_ID ||
|
||||||
|
widgetLoaded.getGroupId() == WidgetID.BANK_INVENTORY_GROUP_ID ||
|
||||||
|
widgetLoaded.getGroupId() == WidgetID.DEPOSIT_BOX_GROUP_ID) && (!config.onShiftOnly() || shiftHeld) && !ctrlHeld)
|
||||||
{
|
{
|
||||||
setBankDragDelay(config.dragDelay());
|
setBankDragDelay(config.dragDelay());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user