From 47c3ce38a833398c6c351ef913c02f43021f7857 Mon Sep 17 00:00:00 2001 From: Fred4106 Date: Thu, 3 Oct 2019 19:30:14 -0500 Subject: [PATCH] Fixed Menuswapper option for bones also selecting "bone spear" or "bone dagger" --- .../plugins/menuentryswapper/MenuEntrySwapperPlugin.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperPlugin.java index 5dd0ccd278..1e420ef992 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperPlugin.java @@ -1006,7 +1006,8 @@ public class MenuEntrySwapperPlugin extends Plugin if (this.swapBones) { - menuManager.addPriorityEntry(new InventoryComparableEntry("Use", "bone", false)); + //menuManager.addPriorityEntry(new InventoryComparableEntry("Use", "bone", false)); + menuManager.addSwap("Bury", "bone", "Use"); } if (this.swapNexus) @@ -1269,7 +1270,7 @@ public class MenuEntrySwapperPlugin extends Plugin menuManager.removePriorityEntry(new EquipmentComparableEntry(this.getXericsTalismanMode.toString(), "talisman")); menuManager.removePriorityEntry(new InventoryComparableEntry("Rub", "", false)); menuManager.removePriorityEntry(new InventoryComparableEntry("Teleport", "", false)); - menuManager.removePriorityEntry(new InventoryComparableEntry("Use", "bone", false)); + //menuManager.removePriorityEntry(new InventoryComparableEntry("Use", "bone", false)); menuManager.removePriorityEntry(newBankComparableEntry("Empty", "Coal bag")); menuManager.removePriorityEntry(this.constructionCapeMode.toString(), "Construct. cape"); menuManager.removePriorityEntry(this.constructionCapeMode.toString(), "Construct. cape(t)"); @@ -1278,7 +1279,7 @@ public class MenuEntrySwapperPlugin extends Plugin menuManager.removePriorityEntry(this.maxMode.toString(), "max cape"); menuManager.removePriorityEntry(this.questCapeMode.toString(), "quest point cape"); menuManager.removePriorityEntry(this.swapHouseAdMode.getEntry()); - + menuManager.removeSwap("Bury", "bone", "Use"); switch (this.swapFairyRingMode) { case OFF: