menuentryswapper: remove pickpocket swap

Removed at Jagex's request
This commit is contained in:
Adam
2019-10-24 13:58:22 -04:00
parent e2c72a6767
commit bc5838f019
2 changed files with 0 additions and 20 deletions

View File

@@ -202,16 +202,6 @@ public interface MenuEntrySwapperConfig extends Config
return HouseAdvertisementMode.VIEW;
}
@ConfigItem(
keyName = "swapPickpocket",
name = "Pickpocket",
description = "Swap Talk-to with Pickpocket"
)
default boolean swapPickpocket()
{
return true;
}
@ConfigItem(
keyName = "swapPay",
name = "Pay",

View File

@@ -371,11 +371,6 @@ public class MenuEntrySwapperPlugin extends Plugin
if (option.equals("talk-to"))
{
if (config.swapPickpocket() && shouldSwapPickpocket(target))
{
swap("pickpocket", option, target, index);
}
if (config.swapAbyssTeleport() && target.contains("mage of zamorak"))
{
swap("teleport", option, target, index);
@@ -638,11 +633,6 @@ public class MenuEntrySwapperPlugin extends Plugin
}
}
private static boolean shouldSwapPickpocket(String target)
{
return !target.startsWith("villager") && !target.startsWith("bandit") && !target.startsWith("menaphite thug");
}
@Subscribe
public void onClientTick(ClientTick clientTick)
{