menuentryswapper: finally fix "collect" in grand exchange window. (#1372)
This commit is contained in:
@@ -21,7 +21,7 @@ public class BankComparableEntry extends AbstractComparableEntry
|
||||
{
|
||||
final int groupId = WidgetInfo.TO_GROUP(entry.getParam1());
|
||||
|
||||
if (groupId != WidgetID.BANK_GROUP_ID && groupId != WidgetID.BANK_INVENTORY_GROUP_ID)
|
||||
if (groupId != WidgetID.BANK_GROUP_ID && groupId != WidgetID.BANK_INVENTORY_GROUP_ID && groupId != WidgetID.GRAND_EXCHANGE_GROUP_ID)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1143,7 +1143,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
|
||||
if (this.swapBankExchange)
|
||||
{
|
||||
menuManager.addPriorityEntry("Collect-notes").setPriority(1);
|
||||
menuManager.addPriorityEntry(new BankComparableEntry("collect", "", false));
|
||||
menuManager.addPriorityEntry("Bank");
|
||||
menuManager.addPriorityEntry("Exchange");
|
||||
}
|
||||
@@ -1510,7 +1510,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
menuManager.removePriorityEntry("Teleport", "Explorer's ring 4");
|
||||
menuManager.removePriorityEntry("Pickpocket");
|
||||
menuManager.removePriorityEntry("Send-parcel", "Rionasta");
|
||||
menuManager.removePriorityEntry("Collect-notes");
|
||||
menuManager.removePriorityEntry(new BankComparableEntry("collect", "", false));
|
||||
menuManager.removePriorityEntry("Bank");
|
||||
menuManager.removePriorityEntry("Exchange");
|
||||
menuManager.removePriorityEntry("Contract");
|
||||
|
||||
Reference in New Issue
Block a user