From 83cd44e336447401eb84257bb0a93c0ee46350d3 Mon Sep 17 00:00:00 2001 From: Crystalknoct Date: Fri, 26 Jul 2019 14:47:18 -0600 Subject: [PATCH] menuentryswapperplugin: Added Sarachnis crypt swap (#1122) * menuentryswapperplugin: Added Sarachnis crypt swap Added quick swap to sarachnis crypt. * remove duplicate swapQuick option.equals("enter") remove duplicate this.swapQuick && option.equals("enter") * Menuentryswapperplugin: cleaned up Sarachnis Swap Deleted duplicate entry --- .../plugins/menuentryswapper/MenuEntrySwapperPlugin.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 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 2949665391..0b6e2292ee 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 @@ -1351,10 +1351,6 @@ public class MenuEntrySwapperPlugin extends Plugin swap(client, "empty", option, target, true); } - else if (this.swapQuick && option.equals("enter")) - { - swap(client, "quick-enter", option, target, true); - } else if (this.swapQuick && option.equals("ring")) { swap(client, "quick-start", option, target, true); @@ -1369,14 +1365,17 @@ public class MenuEntrySwapperPlugin extends Plugin { swap(client, "quick-open", option, target, true); } - else if (this.swapQuick && option.equals("enter")) + + else if (this.swapQuick && (option.equals("enter") || option.equals("enter-crypt"))) { swap(client, "quick-enter", option, target, true); } + else if (this.swapQuick && option.equals("leave tomb")) { swap(client, "quick-leave", option, target, true); } + else if (this.swapAdmire && option.equals("admire")) { swap(client, "teleport", option, target, true);