Fixed Menuswapper option for bones also selecting "bone spear" or "bone dagger"

This commit is contained in:
Fred4106
2019-10-03 19:30:14 -05:00
parent 97df39c5d8
commit 47c3ce38a8

View File

@@ -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: