menuentryswapper: unbreak jewellery box (#2170)

menuentryswapper: unbreak jewellery box
This commit is contained in:
Kyle
2019-12-29 00:23:13 +00:00
committed by GitHub
parent bda14d627e
commit beda951b02

View File

@@ -1214,7 +1214,9 @@ public class MenuEntrySwapperPlugin extends Plugin
{ {
for (String jewellerybox : jewelleryBox) for (String jewellerybox : jewelleryBox)
{ {
menuManager.addPriorityEntry(jewellerybox); menuManager.addPriorityEntry(jewellerybox, "basic jewellery box");
menuManager.addPriorityEntry(jewellerybox, "fancy jewellery box");
menuManager.addPriorityEntry(jewellerybox, "ornate jewellery box");
} }
} }
} }
@@ -1341,7 +1343,9 @@ public class MenuEntrySwapperPlugin extends Plugin
menuManager.removeSwap("Bury", "bone", "Use"); menuManager.removeSwap("Bury", "bone", "Use");
for (String jewellerybox : jewelleryBox) for (String jewellerybox : jewelleryBox)
{ {
menuManager.removePriorityEntry(jewellerybox); menuManager.removePriorityEntry(jewellerybox, "basic jewellery box");
menuManager.removePriorityEntry(jewellerybox, "fancy jewellery box");
menuManager.removePriorityEntry(jewellerybox, "ornate jewellery box");
} }
switch (this.swapFairyRingMode) switch (this.swapFairyRingMode)